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
it('works for website that plays hydration tricks',()=>{cy.visit('https://glebbahmutov.com')})
Now that page is a little tricky - it loads Vue app, but it also writes part of the page using document.write to speed up the initial load. Then Vue hydrates the application and it becomes interactive.
First time loading this page in Cypress test runner shows the following error
Weird, isn't it? Then I set "modifyObstructiveCode": false in cypress.json and the website loaded fine.
BUT: when I tried to recreate the issue again and set "modifyObstructiveCode": true the issue would not show up. I removed cached project bundles, still good. Then suddenly it appeared one more time. So there was no reliable way to recreate the problem.
Mac OS
Cypress 2.1.0
The text was updated successfully, but these errors were encountered:
I put the example test into branch https://github.com/cypress-io/cypress-test-tiny/tree/github-static-pages The test just loads a static github page of mine
Now that page is a little tricky - it loads Vue app, but it also writes part of the page using
document.write
to speed up the initial load. Then Vue hydrates the application and it becomes interactive.First time loading this page in Cypress test runner shows the following error
Weird, isn't it? Then I set
"modifyObstructiveCode": false
in cypress.json and the website loaded fine.BUT: when I tried to recreate the issue again and set
"modifyObstructiveCode": true
the issue would not show up. I removed cached project bundles, still good. Then suddenly it appeared one more time. So there was no reliable way to recreate the problem.The text was updated successfully, but these errors were encountered: