Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: [M3-8526] - Update remaining Linode Create Cypress tests run against Linode Create v2 #10889

Conversation

bnussman-akamai
Copy link
Member

@bnussman-akamai bnussman-akamai commented Sep 4, 2024

Description 📝

  • Updates remaining Cypress test to run against Linode Create v2 rather than Linode Create v1 🧪
  • This PR will allow be to begin deleting Linode Create v1

How to test 🧪

  • Verify Cypress tests pass ✅
  • Verify all Linode Create related tests run against Linode Create v2

As an Author I have considered 🤔

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

@bnussman-akamai bnussman-akamai added e2e Indicates that a PR touches Cypress tests in some way Ready for Review labels Sep 4, 2024
@bnussman-akamai bnussman-akamai self-assigned this Sep 4, 2024
@bnussman-akamai bnussman-akamai requested review from a team as code owners September 4, 2024 21:23
@bnussman-akamai bnussman-akamai requested review from jdamore-linode, mjac0bs and hana-akamai and removed request for a team September 4, 2024 21:23
@bnussman-akamai bnussman-akamai changed the title test: [M3-8526] - Update remaining Cypress tests run against Linode Create v2 test: [M3-8526] - Update remaining Linode Create Cypress tests run against Linode Create v2 Sep 4, 2024
Copy link

github-actions bot commented Sep 4, 2024

Coverage Report:
Base Coverage: 86.4%
Current Coverage: 86.4%

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdamore-linode Are we good to delete this? Do I need to move any of these tests out into new ones?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bnussman-akamai I think we might want to yank out the region select test into its own spec, if we can. This should only be temporary since we have a component test for the region select, but as long as we don't have component tests running in CI I'd like to hang onto that

Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall - tests pass and are using v2. I left a couple comments in the legacy test file but will defer to Joe for final thoughts on what, if anything, is necessary to keep.

@mjac0bs mjac0bs added the Add'tl Approval Needed Waiting on another approval! label Sep 5, 2024
@bnussman-akamai
Copy link
Member Author

Okay, I essentially extracted out some tests from packages/manager/cypress/e2e/core/linodes/legacy-create-linode.spec.ts into new files like create-linode-with-disk-encryption.spec.ts and create-linode-with-dc-specific-pricing.spec.ts so we can retain the coverage @mjac0bs

Copy link
Contributor

@jdamore-linode jdamore-linode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @bnussman-akamai!

I did get one failure the first time I ran create-linode-with-firewall.spec.ts where it apparently failed to find the "Firewall Assigned" text, but not sure why and I didn't have any luck reproducing after that -- no reason to think it was caused by this PR, but I'll keep an eye on that once this is merged!

@bnussman-akamai bnussman-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Sep 9, 2024
@bnussman-akamai bnussman-akamai merged commit 4379494 into linode:develop Sep 9, 2024
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! e2e Indicates that a PR touches Cypress tests in some way
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants