test: [M3-7071] - Add Cypress integration tests for NodeBalancer Create DC-specific pricing#9765
Conversation
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
Outdated
Show resolved
Hide resolved
1a8343b to
7963f3a
Compare
7963f3a to
4200318
Compare
mjac0bs
left a comment
There was a problem hiding this comment.
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.
packages/manager/cypress/e2e/core/nodebalancers/smoke-create-nodebal.spec.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
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 🧪