diff --git a/apps/admin-ui/cypress/e2e/clients_test.spec.ts b/apps/admin-ui/cypress/e2e/clients_test.spec.ts index 197f832913..bf01b415d1 100644 --- a/apps/admin-ui/cypress/e2e/clients_test.spec.ts +++ b/apps/admin-ui/cypress/e2e/clients_test.spec.ts @@ -968,7 +968,6 @@ describe("Clients test", () => { .checkTabExists(ClientsDetailsTab.Settings, true) .checkTabExists(ClientsDetailsTab.Roles, true) .checkTabExists(ClientsDetailsTab.Sessions, true) - .checkTabExists(ClientsDetailsTab.Authorization, true) .checkTabExists(ClientsDetailsTab.Permissions, true) .checkTabExists(ClientsDetailsTab.Advanced, true) .checkNumberOfTabsIsEqual(5); diff --git a/apps/admin-ui/cypress/e2e/user_fed_ldap_test.spec.ts b/apps/admin-ui/cypress/e2e/user_fed_ldap_test.spec.ts index aa5d237ea6..39d6fd8a90 100644 --- a/apps/admin-ui/cypress/e2e/user_fed_ldap_test.spec.ts +++ b/apps/admin-ui/cypress/e2e/user_fed_ldap_test.spec.ts @@ -458,8 +458,6 @@ describe("User Federation LDAP tests", () => { providersPage.ldapEditModeInput, editModeUnsynced ); - - masthead.closeAllAlertMessages(); }); it("Should update display name", () => { diff --git a/apps/admin-ui/cypress/e2e/users_test.spec.ts b/apps/admin-ui/cypress/e2e/users_test.spec.ts index c06583d8b5..c83821011e 100644 --- a/apps/admin-ui/cypress/e2e/users_test.spec.ts +++ b/apps/admin-ui/cypress/e2e/users_test.spec.ts @@ -383,10 +383,9 @@ describe("User creation", () => { it("Delete credential", () => { listingPage.goToItemDetails(itemIdWithCred); credentialsPage.goToCredentialsTab(); - masthead.closeAllAlertMessages(); + cy.wait(2000); listingPage.deleteItem(itemCredential); - modalUtils.checkModalTitle("Delete credentials?").confirmModal(); masthead.checkNotificationMessage( diff --git a/apps/admin-ui/cypress/support/pages/admin_console/manage/users/CredentialsPage.ts b/apps/admin-ui/cypress/support/pages/admin_console/manage/users/CredentialsPage.ts index 24f724de09..fbf2203c29 100644 --- a/apps/admin-ui/cypress/support/pages/admin_console/manage/users/CredentialsPage.ts +++ b/apps/admin-ui/cypress/support/pages/admin_console/manage/users/CredentialsPage.ts @@ -21,7 +21,7 @@ export default class CredentialsPage { private readonly labelField = "userLabelFld"; private readonly editConfirmationBtn = "editUserLabelAcceptBtn"; private readonly showDataDialogBtn = "showDataBtn"; - private readonly closeDataDialogBtn = '[aria-label^="Close"]'; + private readonly closeDataDialogBtn = '.pf-c-modal-box [aria-label^="Close"]'; goToCredentialsTab() { cy.findByTestId(this.credentialsTab).click();