Fix another test (#3507)
This commit is contained in:
parent
aa3346c369
commit
9ec757cae1
4 changed files with 2 additions and 6 deletions
|
@ -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);
|
||||
|
|
|
@ -458,8 +458,6 @@ describe("User Federation LDAP tests", () => {
|
|||
providersPage.ldapEditModeInput,
|
||||
editModeUnsynced
|
||||
);
|
||||
|
||||
masthead.closeAllAlertMessages();
|
||||
});
|
||||
|
||||
it("Should update display name", () => {
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue