How do we page refreshes/reloads on a Cypress custom dev server? #29789
Unanswered
GrayedFox
asked this question in
Component Testing
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.
-
I'm looking at the Vite dev-server for inspiration.
Right now when a component refreshes the page or even simply calling
cy.reload()
causes our dev-server to break.Is there a specific event on the NodeEmitter we should be listening to to catch this in order to handle it? So far all I've seen are:
['dev-server:specs:changed', 'dev-server:compile:success']
- we need a way to handle the CUT (component under test) refreshing the page orcy
instance reloading it - and then having the test continue where it left off.Beta Was this translation helpful? Give feedback.
All reactions