From 7bba9aba3ccb9d1d4cc485ceabca07a776a198a4 Mon Sep 17 00:00:00 2001 From: Waldemar Mazurek Date: Mon, 9 Sep 2024 10:18:02 +0200 Subject: [PATCH] Adds timeout for location check (#3893) --- .../cypress/e2e/tests/1-angular/login-flow-nav-dropdown.cy.js | 2 +- test/e2e-test-application/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e-test-application/cypress/e2e/tests/1-angular/login-flow-nav-dropdown.cy.js b/test/e2e-test-application/cypress/e2e/tests/1-angular/login-flow-nav-dropdown.cy.js index 15dd22ba19..30131b6061 100644 --- a/test/e2e-test-application/cypress/e2e/tests/1-angular/login-flow-nav-dropdown.cy.js +++ b/test/e2e-test-application/cypress/e2e/tests/1-angular/login-flow-nav-dropdown.cy.js @@ -78,7 +78,7 @@ describe('Login Flow', () => { //login again cy.contains('Re-Login').click(); - cy.expectPathToBe('/assets/auth-mock/login-mock.html'); + cy.expectPathToBe('/assets/auth-mock/login-mock.html', 5000); cy.get('body').should('contain', 'Login to Luigi sample app'); cy.login('tets@email.com', 'tets'); }); diff --git a/test/e2e-test-application/package.json b/test/e2e-test-application/package.json index 301ae49fae..de5e156e42 100644 --- a/test/e2e-test-application/package.json +++ b/test/e2e-test-application/package.json @@ -9,7 +9,7 @@ "e2e:open:angular": "cypress open --browser chrome --e2e --config-file cypress/config/e2e-angular-app.config.js", "e2e:open:external": "cypress open --browser chrome --e2e --config-file cypress/config/externalmf.config.js", "e2e:open:js": "cypress open --browser chrome --e2e --config-file cypress/config/e2e-js-app.config.js", - "e2e:run:angular": "cypress run --config-file cypress/config/e2e-angular-app.config.js --browser chrome -c video=false", + "e2e:run:angular": "cypress run --config-file cypress/config/e2e-angular-app.config.js --browser chrome -c video=true", "e2e:run:js": "cypress run --config-file cypress/config/e2e-js-app.config.js --browser chrome -c video=false", "e2e:run:external": "cypress run --config-file cypress/config/externalmf.config.js --browser chrome -c video=false", "buildConfig": "webpack --config webpack-generateConfig.config",