Set high timeout when PWDEBUG env var is set
See original GitHub issueIs your feature request related to a problem? Please describe. I want to more easily debug Playwright errors with jest-playwright.
Describe the solution you’d like
Playwright has an Inspector feature https://playwright.dev/docs/inspector/ that let’s you PWDEBUG=1
, which launches browsers in headed mode etc. One can also use await page.pause();
.
Does this work out of the box with jest-playwright? Can it be documented in the README?
Describe alternatives you’ve considered None, because I like jest-playwright.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Debugging timeouts with Playwright Test
The following video gives you an overview of how to use it to debug test timeouts with the Playwright inspector.
Read more >What is the best way to automatically set jest timeout when ...
If using create-react-app , the setupFilesAfterEnv is configured to src\setupTests.ts . This is the entry point before any tests are ...
Read more >How to start with Playwright Debugging | BrowserStack
A step-by-step tutorial to perform Playwright Debugging and help you choose a suitable option to deliver a high-quality web application.
Read more >Inspector | Playwright - CukeTest
Set the PWDEBUG environment variable to run your scripts in debug mode. ... Browsers launch in the headed mode; Default timeout is set...
Read more >How to set "timeout after (milliseconds)" with environment ...
Hi, I have a need to set different timeouts for different tests. ... I would like to use environmental variables so that in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@thernstig just made PR to increase jest timeout under hood. It will be available in the next release. But for now you should do it by yourself.
Should be doable 👍