Skip to content

Commit

Permalink
update e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
hana-akamai committed Dec 2, 2024
1 parent 8f1212c commit 29cca16
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/manager/cypress/e2e/core/kubernetes/lke-create.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
});

Expand Down

0 comments on commit 29cca16

Please sign in to comment.