Open Skylsmoi opened 5 years ago
Cypress functional tests fails with errors related to cross origin domain
It happens on a recent test that I have commited on a branch here https://github.com/tracim/tracim/commit/7aec9363e6986133ae195f3c3cbb9b85b8db737e
It seems to be a known issue of cypress and chrome. See:
My test is doing a cy.visit() with a relative url. So cross origin issues should not appear since it is on the same domain.
cy.visit()
Test should not fail with this error
This fail seems random. It was random on my local tests and it seems to be the same by the peoples having the same issue on the github issues.
Functional test cypress only
This issue is to keep information about the solving of this issue
To fix it, a solution seems to be to follow this comment https://github.com/cypress-io/cypress/issues/1951#issuecomment-465800679
Bug description & symptom
Cypress functional tests fails with errors related to cross origin domain
Diagnostic
It happens on a recent test that I have commited on a branch here https://github.com/tracim/tracim/commit/7aec9363e6986133ae195f3c3cbb9b85b8db737e
It seems to be a known issue of cypress and chrome. See:
My test is doing a
cy.visit()
with a relative url. So cross origin issues should not appear since it is on the same domain.Expected
Test should not fail with this error
How to reproduce
This fail seems random. It was random on my local tests and it seems to be the same by the peoples having the same issue on the github issues.
Impacted components
Functional test cypress only
Extra information
This issue is to keep information about the solving of this issue