From 75da4459715deff747362a013d161ca5204fdf93 Mon Sep 17 00:00:00 2001 From: mfrances17 <39063664+mfrances17@users.noreply.github.com> Date: Thu, 28 Oct 2021 14:58:54 -0400 Subject: [PATCH] prevent stacked notifications (#1438) --- cypress/integration/user_fed_ldap_mapper_test.spec.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cypress/integration/user_fed_ldap_mapper_test.spec.ts b/cypress/integration/user_fed_ldap_mapper_test.spec.ts index f38bab3c10..c47121cc9e 100644 --- a/cypress/integration/user_fed_ldap_mapper_test.spec.ts +++ b/cypress/integration/user_fed_ldap_mapper_test.spec.ts @@ -153,31 +153,37 @@ describe("User Fed LDAP mapper tests", () => { modalUtils.checkModalTitle(mapperDeleteTitle).confirmModal(); masthead.checkNotificationMessage(mapperDeletedSuccess); listingPage.itemExist(creationDateMapper, false); + cy.wait(5000); listingPage.itemExist(emailMapper).deleteItem(emailMapper); modalUtils.checkModalTitle(mapperDeleteTitle).confirmModal(); masthead.checkNotificationMessage(mapperDeletedSuccess); listingPage.itemExist(emailMapper, false); + cy.wait(5000); listingPage.itemExist(lastNameMapper).deleteItem(lastNameMapper); modalUtils.checkModalTitle(mapperDeleteTitle).confirmModal(); masthead.checkNotificationMessage(mapperDeletedSuccess); listingPage.itemExist(lastNameMapper, false); + cy.wait(5000); listingPage.itemExist(modifyDateMapper).deleteItem(modifyDateMapper); modalUtils.checkModalTitle(mapperDeleteTitle).confirmModal(); masthead.checkNotificationMessage(mapperDeletedSuccess); listingPage.itemExist(modifyDateMapper, false); + cy.wait(5000); listingPage.itemExist(usernameMapper).deleteItem(usernameMapper); modalUtils.checkModalTitle(mapperDeleteTitle).confirmModal(); masthead.checkNotificationMessage(mapperDeletedSuccess); listingPage.itemExist(usernameMapper, false); + cy.wait(5000); listingPage.itemExist(firstNameMapper).deleteItem(firstNameMapper); modalUtils.checkModalTitle(mapperDeleteTitle).confirmModal(); masthead.checkNotificationMessage(mapperDeletedSuccess); listingPage.itemExist(firstNameMapper, false); + cy.wait(5000); listingPage .itemExist(MsadAccountControlsMapper)