Take a screenshot if the test fails #5956
Labels
feat: browser
Issues and PRs related to the browser runner
p2-nice-to-have
Not breaking anything but nice to have (priority)
Clear and concise description of the problem
It would be nice to see the screenshot of the page if the test fails in CI or in headless mode, otherwise it is impossible to debug.
Suggested solution
Store the screenshot of the page at the moment of the test failure.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: