Removed unnecessary wait in realm settings tabs test (#4042)

This commit is contained in:
Dominik Kawka 2022-12-15 12:10:06 +00:00 committed by GitHub
parent 7eb2b13c98
commit 9f917e2a65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,8 +97,7 @@ describe("Realm settings tabs tests", () => {
cy.findByTestId("email-tab-save").click(); cy.findByTestId("email-tab-save").click();
cy.get("#kc-display-name-helper").contains("You must enter a valid email."); cy.get("#kc-display-name-helper").contains("You must enter a valid email.");
cy.get("#kc-host-helper").contains("Required field"); cy.get("#kc-host-helper").contains("Required field");
//revert
cy.wait(100);
cy.findByTestId("email-tab-revert").click(); cy.findByTestId("email-tab-revert").click();
cy.findByTestId("sender-email-address").should("be.empty"); cy.findByTestId("sender-email-address").should("be.empty");
cy.findByTestId("from-display-name").should("be.empty"); cy.findByTestId("from-display-name").should("be.empty");