From e041fd8e48749b61aaf0f4c8e473b203901f2368 Mon Sep 17 00:00:00 2001 From: Andy Pickering Date: Tue, 28 Oct 2025 14:39:06 +0900 Subject: [PATCH] Tests: Fix skip tour action to run for all login options --- cypress/support/commands.ts | 1 - tests/tests/lightspeed-install.cy.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 6b7b324d..cbf8b817 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -111,7 +111,6 @@ Cypress.Commands.add( cacheAcrossSpecs: true, validate() { cy.visit(Cypress.config('baseUrl')); - cy.byTestID('tour-step-footer-secondary').click(); cy.byTestID('username').should('exist'); }, }, diff --git a/tests/tests/lightspeed-install.cy.ts b/tests/tests/lightspeed-install.cy.ts index 45bb8e14..2cfd381c 100644 --- a/tests/tests/lightspeed-install.cy.ts +++ b/tests/tests/lightspeed-install.cy.ts @@ -186,6 +186,7 @@ spec: cy.exec(`echo '${config}' | oc create -f - --kubeconfig ${Cypress.env('KUBECONFIG_PATH')}`); cy.visit('/'); + cy.byTestID('tour-step-footer-secondary', { timeout: MINUTE }).click(); cy.get(mainButton, { timeout: 5 * MINUTE }).should('exist'); });