Cypress commands not running in browser console #25490
Unanswered
taoeffect
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.
-
Hi, I'm debugging an issue, where
cy.window()
seems to not be returning its promise, and causing tests to timeout. Upon further investigation using Cypress 7.7.0 (an older version because the newer ones significantly increase test times), I discovered that in the Electron window's console (after the tests pass),cy
commands do not get run at all sometimes!See the attached screenshot -
test
got incremented only once, and from then on it wouldn't increment again.And this applies to any further
cy.
commands - none of them work anymore (for example,cy.get('#foo').click()
wouldn't work).Anyone knows what's going on?
I need to figure this out because I think this same issue is affecting one of our tests that is timing out.
Beta Was this translation helpful? Give feedback.
All reactions