console errors in cypress, but not in browser #21636
Unanswered
valeria-chernikova
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Our app had an embedded support chat.
In 50% of the cases when I try to navigate to the page of the app by doing
cy.visit()
, I receive a console error triggered by app, which doesn't allow the page to load. The error is about the app trying to dodocument.querySelector('supportChat')
, and receivingnull
.Before this error, 4 warnings appear in the console:
It happens only in cypress (chrome & edge). When I manually do it in Chrome, there are no warnings and no error.
Did someone have the same problem or have any idea what I can try?
I tried to set "modifyObstructiveCode" to false. It didn't solve the issue.
Beta Was this translation helpful? Give feedback.
All reactions