You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we are using Auth0 for registration. The test case starts with visiting the website, and if the user is not logged in, the site redirects to the Auth0 page. Then, it should log in using a custom command. (get from the docs), but getting an error:
"CypressError: Timed out retrying after 15000ms: The command was expected to run against origin https://domain.com but the application is at origin https://domain.auth0.com."
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
Current behavior
Currently, we are using Auth0 for registration. The test case starts with visiting the website, and if the user is not logged in, the site redirects to the Auth0 page. Then, it should log in using a custom command. (get from the docs), but getting an error:
"CypressError: Timed out retrying after 15000ms: The command was expected to run against origin
https://domain.com
but the application is at originhttps://domain.auth0.com
."loginToAuth0 command is:
e2e/support/auth0Authentication.ts
Note that this problem only exists in Cypress run, not in Cypress open, and it affects test cases run in that way.
Desired behavior
Using origin it should be worked when running
Test code to reproduce
run command
yarn cypress: run
package.json
"cypress:run": "cypress run --browser chrome"
Cypress Version
^13.6.6
Node version
^18.17.0
Operating System
macOS Ventura 13.0.1
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: