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.Settings, true)
|
||||||
.checkTabExists(ClientsDetailsTab.Roles, true)
|
.checkTabExists(ClientsDetailsTab.Roles, true)
|
||||||
.checkTabExists(ClientsDetailsTab.Sessions, true)
|
.checkTabExists(ClientsDetailsTab.Sessions, true)
|
||||||
.checkTabExists(ClientsDetailsTab.Authorization, true)
|
|
||||||
.checkTabExists(ClientsDetailsTab.Permissions, true)
|
.checkTabExists(ClientsDetailsTab.Permissions, true)
|
||||||
.checkTabExists(ClientsDetailsTab.Advanced, true)
|
.checkTabExists(ClientsDetailsTab.Advanced, true)
|
||||||
.checkNumberOfTabsIsEqual(5);
|
.checkNumberOfTabsIsEqual(5);
|
||||||
|
|
|
@ -458,8 +458,6 @@ describe("User Federation LDAP tests", () => {
|
||||||
providersPage.ldapEditModeInput,
|
providersPage.ldapEditModeInput,
|
||||||
editModeUnsynced
|
editModeUnsynced
|
||||||
);
|
);
|
||||||
|
|
||||||
masthead.closeAllAlertMessages();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Should update display name", () => {
|
it("Should update display name", () => {
|
||||||
|
|
|
@ -383,10 +383,9 @@ describe("User creation", () => {
|
||||||
it("Delete credential", () => {
|
it("Delete credential", () => {
|
||||||
listingPage.goToItemDetails(itemIdWithCred);
|
listingPage.goToItemDetails(itemIdWithCred);
|
||||||
credentialsPage.goToCredentialsTab();
|
credentialsPage.goToCredentialsTab();
|
||||||
masthead.closeAllAlertMessages();
|
|
||||||
cy.wait(2000);
|
cy.wait(2000);
|
||||||
listingPage.deleteItem(itemCredential);
|
listingPage.deleteItem(itemCredential);
|
||||||
|
|
||||||
modalUtils.checkModalTitle("Delete credentials?").confirmModal();
|
modalUtils.checkModalTitle("Delete credentials?").confirmModal();
|
||||||
|
|
||||||
masthead.checkNotificationMessage(
|
masthead.checkNotificationMessage(
|
||||||
|
|
|
@ -21,7 +21,7 @@ export default class CredentialsPage {
|
||||||
private readonly labelField = "userLabelFld";
|
private readonly labelField = "userLabelFld";
|
||||||
private readonly editConfirmationBtn = "editUserLabelAcceptBtn";
|
private readonly editConfirmationBtn = "editUserLabelAcceptBtn";
|
||||||
private readonly showDataDialogBtn = "showDataBtn";
|
private readonly showDataDialogBtn = "showDataBtn";
|
||||||
private readonly closeDataDialogBtn = '[aria-label^="Close"]';
|
private readonly closeDataDialogBtn = '.pf-c-modal-box [aria-label^="Close"]';
|
||||||
|
|
||||||
goToCredentialsTab() {
|
goToCredentialsTab() {
|
||||||
cy.findByTestId(this.credentialsTab).click();
|
cy.findByTestId(this.credentialsTab).click();
|
||||||
|
|
Loading…
Reference in a new issue