question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set high timeout when PWDEBUG env var is set

See original GitHub issue

Is 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:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mmarkelovcommented, Feb 27, 2021

@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.

1reaction
mxschmittcommented, Feb 25, 2021

Should be doable 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found