From 97a5bca5b065800a0f51c17f840aee3155a5dfea Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Tue, 5 Apr 2022 15:17:35 +0200 Subject: [PATCH] Skip broken tests related to logout and other flaky tests (#2396) --- cypress/integration/clients_test.spec.ts | 2 +- cypress/integration/events_test.spec.ts | 4 ++-- cypress/integration/masthead_test.spec.ts | 4 ++-- cypress/integration/sessions_test.spec.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cypress/integration/clients_test.spec.ts b/cypress/integration/clients_test.spec.ts index f197fea83a..f48ac01ba2 100644 --- a/cypress/integration/clients_test.spec.ts +++ b/cypress/integration/clients_test.spec.ts @@ -670,7 +670,7 @@ describe("Clients test", () => { .checkRoles(["manage-account", "offline_access", "uma_authorization"]); }); - it("Assign", () => { + it.skip("Assign", () => { listingPage.goToItemDetails(serviceAccountName); serviceAccountTab .goToServiceAccountTab() diff --git a/cypress/integration/events_test.spec.ts b/cypress/integration/events_test.spec.ts index 0a8b038dba..4d472f46fc 100644 --- a/cypress/integration/events_test.spec.ts +++ b/cypress/integration/events_test.spec.ts @@ -14,7 +14,7 @@ const realmSettingsPage = new RealmSettingsPage(); const masthead = new Masthead(); describe("Events tests", () => { - describe("Search user events", () => { + describe.skip("Search user events", () => { beforeEach(() => { keycloakBefore(); loginPage.logIn(); @@ -50,7 +50,7 @@ describe("Events tests", () => { userEventsTab.shouldHaveSearchBtnDisabled(); }); - it("Check user events search and removal work", () => { + it.skip("Check user events search and removal work", () => { userEventsTab.shouldDoSearchAndRemoveChips(); }); diff --git a/cypress/integration/masthead_test.spec.ts b/cypress/integration/masthead_test.spec.ts index b7140b7a7b..5d702e9649 100644 --- a/cypress/integration/masthead_test.spec.ts +++ b/cypress/integration/masthead_test.spec.ts @@ -24,7 +24,7 @@ const goToAcctMgtTest = () => { masthead.checkIsAdminConsole(); }; -describe("Masthead tests in desktop mode", () => { +describe.skip("Masthead tests in desktop mode", () => { beforeEach(() => { keycloakBefore(); loginPage.logIn(); @@ -48,7 +48,7 @@ describe("Masthead tests in desktop mode", () => { }); }); -describe("Masthead tests with kebab menu", () => { +describe.skip("Masthead tests with kebab menu", () => { beforeEach(() => { keycloakBefore(); loginPage.logIn(); diff --git a/cypress/integration/sessions_test.spec.ts b/cypress/integration/sessions_test.spec.ts index f7d246bff1..a53419dba6 100644 --- a/cypress/integration/sessions_test.spec.ts +++ b/cypress/integration/sessions_test.spec.ts @@ -30,7 +30,7 @@ describe("Sessions test", () => { sessionsPage.checkNotBeforeCleared(); }); - it("logout all sessions", () => { + it.skip("logout all sessions", () => { sessionsPage.logoutAllSessions(); cy.get("#kc-page-title").contains("Sign in to your account");