My Cypress test fails because the home page is not loaded:
(uncaught exception)TypeError: top.getTabFrom is not a function
(uncaught exception)TypeError: top.getParamWindow is not a function
The following error originated from your application code, not from Cypress. > top.getTabFrom is not a function
I addedto the cypress.json file, the following params: “experimentalSourceRewriting”: true
Except that it doesn't fix my problem
Version Cypress: "13.15.0"
Any suggestions you may have to solve this problem, will be appreciated :)
Please find enclosed my code: Test.cy.js
The following code snippet corrects the loading problem, except that it's not a relevant solution because the win.top is used everywhere in the application under Test ==> it's not possible to include it after each click.
Current behavior
Hello,
My Cypress test fails because the home page is not loaded:
I addedto the
cypress.json file
, the following params: “experimentalSourceRewriting”: true Except that it doesn't fix my problemVersion Cypress: "13.15.0"
Any suggestions you may have to solve this problem, will be appreciated :)
Please find enclosed my code: Test.cy.js The following code snippet corrects the loading problem, except that it's not a relevant solution because the win.top is used everywhere in the application under Test ==> it's not possible to include it after each click.
Desired behavior
Display the content of the Home Page
Test code to reproduce
Cypress Version
13.15.0
Node version
v20.18.0
Operating System
Windows 10 Professionnel
Debug Logs
No response
Other
No response