Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests related to cross-origin navigation fail #2198

Open
Tbaut opened this issue Jun 21, 2022 · 0 comments
Open

Tests related to cross-origin navigation fail #2198

Tbaut opened this issue Jun 21, 2022 · 0 comments
Labels
Testing Added to issues to signal that it is part of an epic

Comments

@Tbaut
Copy link
Collaborator

Tbaut commented Jun 21, 2022

Some specific Storage tests have been failing recently with the following error, see here

|   1) Main Navigation
 |        desktop
 |          can navigate to the docs page:
 |      CypressError: Timed out after waiting `60000ms` for your remote page to load on origin(s):
 | 
 | - `http://localhost:3000`
 | 
 | A cross-origin request for `[https://docs.storage.chainsafe.io/`](https://docs.storage.chainsafe.io/%60) was detected.
 | 
 | A command that triggers cross-origin navigation must be immediately followed by a `cy.origin()` command:
 | 
 | `cy.origin('https://chainsafe.io/', () => {`
 | `  <commands targeting https://docs.storage.chainsafe.io/ go here>`
 | `})`
 | 
 | If the cross-origin request was an intermediary state, you can try increasing the `pageLoadTimeout` value in `cypress.config.ts` to wait longer.
 | 
 | Browsers will not fire the `load` event until all stylesheets and scripts are done downloading.
 | 
 | When this `load` event occurs, Cypress will continue running commands.
@Tbaut Tbaut added the Testing Added to issues to signal that it is part of an epic label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing Added to issues to signal that it is part of an epic
Projects
None yet
Development

No branches or pull requests

1 participant