Skip to content

Commit

Permalink
change: [UIE-8220] - fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolotsk-akamai committed Oct 31, 2024
1 parent 55fcfd5 commit df23346
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ describe('Resizing existing clusters', () => {
cy.contains(`$${desiredPlanPrice.monthly}/month`).should(
'be.visible'
);
cy.contains(`$${desiredPlanPrice.hourly}/hour`).should(
'be.visible'
);
});
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const removeAllowedIp = (allowedIp: string) => {
* @param existingIps - The number of existing IPs. Optional, default is `0`.
*/
const manageAccessControl = (allowedIps: string[], existingIps: number = 0) => {
cy.findByText('Manage Access Controls').closest('button').click();
cy.findByTestId('button-access-control').click();

ui.drawer
.findByTitle('Manage Access Controls')
Expand Down

0 comments on commit df23346

Please sign in to comment.