From 8d7c3f4b47632dba5bc18d55d93c850d06b3179b Mon Sep 17 00:00:00 2001 From: Albert <Albert.Bruns@mgm-tp.com> Date: Tue, 8 Apr 2025 14:51:32 +0200 Subject: [PATCH] e2e sessionClear before every test --- alfa-client/apps/admin-e2e/src/support/e2e.ts | 4 ++++ alfa-client/apps/alfa-e2e/src/support/e2e.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/alfa-client/apps/admin-e2e/src/support/e2e.ts b/alfa-client/apps/admin-e2e/src/support/e2e.ts index 69890ab455..c8022c172b 100644 --- a/alfa-client/apps/admin-e2e/src/support/e2e.ts +++ b/alfa-client/apps/admin-e2e/src/support/e2e.ts @@ -65,3 +65,7 @@ Cypress.on('fail', (err) => { Cypress.Keyboard.defaults({ keystrokeDelay: 30, }); + +before(() => { + Cypress.session.clearAllSavedSessions(); +}); diff --git a/alfa-client/apps/alfa-e2e/src/support/e2e.ts b/alfa-client/apps/alfa-e2e/src/support/e2e.ts index ee993cca1c..bbcf85acd2 100644 --- a/alfa-client/apps/alfa-e2e/src/support/e2e.ts +++ b/alfa-client/apps/alfa-e2e/src/support/e2e.ts @@ -66,3 +66,7 @@ Cypress.on('fail', (err) => { Cypress.Keyboard.defaults({ keystrokeDelay: 30, }); + +before(() => { + Cypress.session.clearAllSavedSessions(); +}); -- GitLab