E2E Tests: take screenshots on failures #7550
Labels
P3
Nice to have
Package: E2E Tests
/packages/e2e-tests
Type: Infrastructure
Changes impacting testing infrastructure or build tooling
Task Description
Taking screenshots when an e2e test fails on CI would make it much easier for us to debug.
Some prior art:
WordPress/gutenberg#26664
WordPress/gutenberg#28449
Just like for #7549, it would mean using
jest-circus
as the test runner due to the events it emits to make this easier.We could try using Percy for the screenshots, but storing them as GitHub Actions artifacts is cheaper.
The text was updated successfully, but these errors were encountered: