From 29cca169d47799607ae9e14ced61b052bc207667 Mon Sep 17 00:00:00 2001 From: Hana Xu Date: Mon, 2 Dec 2024 11:33:21 -0500 Subject: [PATCH] update e2e --- .../cypress/e2e/core/kubernetes/lke-create.spec.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/manager/cypress/e2e/core/kubernetes/lke-create.spec.ts b/packages/manager/cypress/e2e/core/kubernetes/lke-create.spec.ts index 9916ec007bd..f132e59478d 100644 --- a/packages/manager/cypress/e2e/core/kubernetes/lke-create.spec.ts +++ b/packages/manager/cypress/e2e/core/kubernetes/lke-create.spec.ts @@ -904,6 +904,20 @@ describe('LKE Cluster Creation with LKE-E', () => { // Confirm HA section is hidden since LKE-E includes HA by default cy.findByText('HA Control Plane').should('not.exist'); + // Confirm unsupported regions are not displayed + ui.regionSelect.find().click().type('Newark, NJ'); + ui.autocompletePopper.find().within(() => { + cy.findByText('Newark, NJ (us-east)').should('not.exist'); + }); + // Select a supported region + ui.regionSelect.find().clear().type('Washington, DC{enter}'); + // Confirm that there is a tooltip explanation for the region dropdown options + ui.tooltip + .findByText( + 'Only regions that support Kubernetes Enterprise are listed.' + ) + .should('be.visible'); + // TODO: finish the rest of this test in subsequent PRs });