8000 trying to make general test switch less flaky by edewit · Pull Request #34993 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,13 @@ describe("Realm settings general tab tests", () => {

// Enable realm
realmSettingsPage.toggleSwitch(`${realmName}-switch`);
masthead.checkNotificationMessage("Realm successfully updated");
sidebarPage.waitForPageLoad();
masthead.checkNotificationMessage("Realm successfully updated", true);
realmSettingsPage.assertSwitch(`${realmName}-switch`, true);

// Disable realm
realmSettingsPage.toggleSwitch(`${realmName}-switch`, false);
realmSettingsPage.disableRealm();
masthead.checkNotificationMessage("Realm successfully updated", true);
sidebarPage.waitForPageLoad();

// Re-enable realm
realmSettingsPage.toggleSwitch(`${realmName}-switch`);
masthead.checkNotificationMessage("Realm successfully updated");
});

it("Fail to set Realm ID to empty", () => {
Expand Down
0