Replies: 1 comment
-
A current workaround: visit a 404 page in an afterEach section. This seems to stop any further javascript from the page to run. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I'm currently working on some tests, viewing them with Cypress' "Electron" option (v100). There I have 2 tests (1 describe, 2 its). The first
it
has avisit
command, the second is empty. The page that gets visited in the firstit
has a poller that gets queued withsetTimeout
, which will generate a fetch() call (which is intercepted viacy.intercept
). When I run my tests, this is what I see:How do I stop the setTimeout's from a test after a test has completed?
Beta Was this translation helpful? Give feedback.
All reactions