cy.wait() hanging when running e2e tests on Electron v114 #28654
Unanswered
oanaOM
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.
-
When using Electron v114 and waiting for a
cy.intercept
request, thecy.wait
just hangs triggering a timeout limit. This happens when I run the test for the first time. When I refresh the test to run it again in the UI, it works fine. Please see a video and my codesnippet belowCode snippet below:

Video:
https://github.com/cypress-io/cypress/assets/15228388/6b4a89cd-2abf-424b-aeee-552d94ddeaa5
At a first thought, it seems that response it's been cached for the following tests and this is why it works after retry but I'm curious to know how can I make this work when running the test for the 1st time?
Is this a normal behaviour?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions