From f51826a38ed17b53ab676b6fe93313020585fae4 Mon Sep 17 00:00:00 2001 From: Jimmy Bourque <jbourque@bridgephase.com> Date: Fri, 26 Jan 2024 09:08:59 -0600 Subject: [PATCH] Added more commands to clear out local storage --- chart/tests/cypress/e2e/01-gitlab-health-spec.cy.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chart/tests/cypress/e2e/01-gitlab-health-spec.cy.js b/chart/tests/cypress/e2e/01-gitlab-health-spec.cy.js index dfa1ea322..1c14f5063 100644 --- a/chart/tests/cypress/e2e/01-gitlab-health-spec.cy.js +++ b/chart/tests/cypress/e2e/01-gitlab-health-spec.cy.js @@ -42,6 +42,10 @@ describe('Gitlab Login as Root and Approve User', () => { //Clear session data cy.clearCookies(); + cy.clearLocalStorage(); + cy.window().then((win) => { + win.sessionStorage.clear(); + }) }) }) -- GitLab