You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when iterating on an integration test or a component test, it is natural to run playwright in --debug mode.
When doing so, if I hit a reload on the debug browser screen that loads the component / webpage, playwright runs into an inconsistent state.
For component tests, hitting reload means that the page after reload is blank as component mount is never called again.
For normal integration tests, I noticed that execution isn't reset.
Neither of these are great. Ideally, playwright might want to capture reload, and re-start the test. A similar behaviour is seen in other frameworks like cypress and is quite helpful for quick iteration.
I'm happy to submit a fix, in-case there's some guidance on where the fix will lie.
The text was updated successfully, but these errors were encountered:
Thanks for taking a look! I think this is a part of the larger story to make authoring and iterating on tests in playwright as fun as running it is, as stated by some of the other suggestions —
Thank you for your involvement. This issue was closed due to limited engagement (upvotes/activity), lack of recent activity, and insufficient actionability. To maintain a manageable database, we prioritize issues based on these factors.
If you disagree with this closure, please open a new issue and reference this one. More support or clarity on its necessity may prompt a review. Your understanding and cooperation are appreciated.
Currently, when iterating on an integration test or a component test, it is natural to run playwright in
--debug
mode.When doing so, if I hit a reload on the debug browser screen that loads the component / webpage, playwright runs into an inconsistent state.
Neither of these are great. Ideally, playwright might want to capture reload, and re-start the test. A similar behaviour is seen in other frameworks like cypress and is quite helpful for quick iteration.
I'm happy to submit a fix, in-case there's some guidance on where the fix will lie.
The text was updated successfully, but these errors were encountered: