-
Notifications
You must be signed in to change notification settings - Fork 365
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-7071] - Add Cypress integration tests for NodeBalancer Create DC-specific pricing #9765
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/manager/cypress/e2e/core/nodebalancers/smoke-create-nodebal.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/cypress/e2e/core/nodebalancers/smoke-create-nodebal.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/cypress/e2e/core/nodebalancers/smoke-create-nodebal.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/cypress/e2e/core/nodebalancers/smoke-create-nodebal.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/cypress/e2e/core/nodebalancers/smoke-create-nodebal.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/cypress/e2e/core/nodebalancers/smoke-create-nodebal.spec.ts
Show resolved
Hide resolved
1a8343b
to
7963f3a
Compare
7963f3a
to
4200318
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed this passed locally and covers DC-pricing changes for NodeBalancers. Thanks for the updates, @cliu-akamai! 🚢
// Confirms that the summary updates to reflect price changes if the user changes their region. | ||
cy.get(`[value="${regionName}"]`).click().type(`${newRegion.label}{enter}`); | ||
cy.get('[data-qa-summary="true"]').within(() => { | ||
cy.findByText(`$14.00/month`).should('be.visible'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/manager/cypress/e2e/core/nodebalancers/smoke-create-nodebal.spec.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are passing for me ✅
It would be nice to test the submission of multiple nodes and multiple configs since this form is complex. It will help us when refactoring it from a class component.
@jdamore-linode - any thoughts?
@abailly-akamai Fair, but this sounds like a good candidate for a follow up ticket to me, because it extends beyond DC-specific pricing. I think we can merge this as is, and get something in the backlog for further NodeBalancer Create test coverage. (Edit: M3-7287) |
@cliu-akamai - Thanks for your work on this! I'm going to go ahead and merge since this test passes in CI and locally for at least two of us. (Not quite sure what @hana-linode was experiencing, but can't replicate it.) I'll then merge |
Description 📝
Add new cypress tests for NodeBalancer creation tiered pricing.
Major Changes 🔄
How to test 🧪