Do not switch to admin console too early (#25952)

Closes: #25951

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
This commit is contained in:
Hynek Mlnařík 2024-01-05 16:26:02 +01:00 committed by GitHub
parent cf19c06341
commit c2112b9edd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,8 +18,10 @@ describe("Masthead tests", () => {
it("Go to account console and back to admin console", () => {
sidebarPage.waitForPageLoad();
masthead.accountManagement();
sidebarPage.waitForPageLoad();
cy.get("h1").contains("Welcome to Keycloak account management");
masthead.goToAdminConsole();
sidebarPage.waitForPageLoad();
masthead.checkIsAdminUI();
});