Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E Tests: take screenshots on failures #7550

Closed
swissspidy opened this issue May 17, 2021 · 0 comments · Fixed by #11786
Closed

E2E Tests: take screenshots on failures #7550

swissspidy opened this issue May 17, 2021 · 0 comments · Fixed by #11786
Labels
P3 Nice to have Package: E2E Tests /packages/e2e-tests Type: Infrastructure Changes impacting testing infrastructure or build tooling

Comments

@swissspidy
Copy link
Collaborator

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.

@swissspidy swissspidy added Type: Infrastructure Changes impacting testing infrastructure or build tooling Pod: WP & Infra Package: E2E Tests /packages/e2e-tests P3 Nice to have labels May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Nice to have Package: E2E Tests /packages/e2e-tests Type: Infrastructure Changes impacting testing infrastructure or build tooling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant