https://cypress.io logo
Browsers will not fire the load event until all st...
# i-need-help
s
Hello I try cy.visit('https://www.saucedemo.com/') but it opens only first time. Than some data cache up and another open this website with a cypress testing script stuck on load. Error below at timedOutWaitingForPageLoad (https://www.saucedemo.com/__cypress/runner/cypress_runner.js:137290:72) at (https://www.saucedemo.com/__cypress/runner/cypress_runner.js:138264:16) From previous event: at Context.visit (https://www.saucedemo.com/__cypress/runner/cypress_runner.js:138263:61) at wrapped (https://www.saucedemo.com/__cypress/runner/cypress_runner.js:151118:43) From Your Spec Code: at Context.eval (webpack:///./cypress/e2e/test.login.cy.ts:11:13) I tryed solutions from this website https://github.com/cypress-io/cypress/issues/2938 and nothing works. Only when I manually delete C:\Users\\AppData\Roaming\Cypress\cy\production\browsers\ and there folder for the proper browser, than I have one new clear run when the website is successfully loaded.