From d5bb3126b3610f3264b112d4b8adb12a8f18dcd7 Mon Sep 17 00:00:00 2001 From: Sebastian Klein Date: Wed, 20 Nov 2024 16:55:10 +0100 Subject: [PATCH] Prevent Tenant Selection Popup to show during new E2E Test Signed-off-by: Sebastian Klein --- test/cypress/e2e/oidc/oidc_auth_test.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/cypress/e2e/oidc/oidc_auth_test.spec.js b/test/cypress/e2e/oidc/oidc_auth_test.spec.js index fa44afa5..514a20a4 100644 --- a/test/cypress/e2e/oidc/oidc_auth_test.spec.js +++ b/test/cypress/e2e/oidc/oidc_auth_test.spec.js @@ -103,6 +103,8 @@ describe('Log in via OIDC', () => { failOnStatusCode: false, }); + sessionStorage.setItem('opendistro::security::tenant::show_popup', 'false'); + kcLogin(); cy.getCookie('security_authentication').should('exist');