stabilize realm setting test (#30038)
fixes: #29468 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
80212985a5
commit
d10b331e1a
1 changed files with 0 additions and 3 deletions
|
@ -49,12 +49,9 @@ describe("Realm settings general tab tests", () => {
|
||||||
sidebarPage.waitForPageLoad();
|
sidebarPage.waitForPageLoad();
|
||||||
|
|
||||||
// Disable realm
|
// Disable realm
|
||||||
const loadName = `load-disabled-${uuid()}`;
|
|
||||||
cy.intercept({ path: "/admin/realms/*", times: 1 }).as(loadName);
|
|
||||||
realmSettingsPage.toggleSwitch(`${realmName}-switch`, false);
|
realmSettingsPage.toggleSwitch(`${realmName}-switch`, false);
|
||||||
realmSettingsPage.disableRealm();
|
realmSettingsPage.disableRealm();
|
||||||
masthead.checkNotificationMessage("Realm successfully updated", true);
|
masthead.checkNotificationMessage("Realm successfully updated", true);
|
||||||
cy.wait(`@${loadName}`);
|
|
||||||
sidebarPage.waitForPageLoad();
|
sidebarPage.waitForPageLoad();
|
||||||
|
|
||||||
// Re-enable realm
|
// Re-enable realm
|
||||||
|
|
Loading…
Reference in a new issue