diff --git a/cypress/integration/sasjs.tests.ts b/cypress/integration/sasjs.tests.ts index e999de7..5ed0d90 100644 --- a/cypress/integration/sasjs.tests.ts +++ b/cypress/integration/sasjs.tests.ts @@ -13,6 +13,8 @@ context('sasjs-tests', function () { }) function loginIfNeeded() { + cy.get('login-form, tests-view', { timeout: 30000 }).should('exist') + cy.get('body').then(($body) => { if ($body.find('login-form').length > 0) { cy.get('login-form')