Open
Description
As suggested in #43, we would like to have a screenshot when a test fail, it is the same idea as #130.
Technical detail
- The screenshot would be created in a
.jest-puppeteer/screenshots
folder. - The name of the screenshot would be
${fileName}-${describe}-${it}-${timestamp}.png
We could redefine it
and test
but I think this is not the cleanest method. Any help from Jest team to do it properly is welcome @SimenB.