#58596 closed enhancement (fixed)
Store artifacts for failed E2E test runs.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.3 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | has-patch |
| Focuses: | Cc: |
Description
In order to help review failed E2E test runs, store the screenshots and HTML artifacts of the failed runs on the GitHub actions.
This is already available on the Gutenberg repository and can be done via a simple copy and paste.
Change History (6)
This ticket was mentioned in PR #4671 on WordPress/wordpress-develop by @peterwilsoncc.
3 years ago
#1
- Keywords has-patch added
#2
@
3 years ago
In the linked pull request:
- Example failed test run
- Example successful test run
- Workflow changes are a copy-paste from the equivalent files in the Gutenberg repo
@peterwilsoncc commented on PR #4671:
3 years ago
#4
#5
follow-up:
↓ 6
@
3 years ago
Thanks for the ticket!
I thought this would be helpful for investigating the timeouts in #58592, but apparently if the tests fail due to a timeout, the artifacts are not generated.
For example, a recent test run failed with:
Error: TimeoutError: Navigation timeout of 30000 ms exceeded
and the artifacts task says:
No files were found with the provided path: artifacts. No artifacts will be uploaded.
#6
in reply to:
↑ 5
@
3 years ago
Replying to SergeyBiryukov:
I thought this would be helpful for investigating the timeouts in #58592, but apparently if the tests fail due to a timeout, the artifacts are not generated.
Yeah, I've since learnt that. I considered reverting but decided it would be helpful to store them for other failures even if it's not useful for timeouts.
https://core.trac.wordpress.org/ticket/58596