close
Skip to content

CI: Collect e2e failure artifacts and generate merged HTML report#374

Merged
ockham merged 1 commit intotrunkfrom
add/ci-e2e-failure-artifacts
Mar 10, 2026
Merged

CI: Collect e2e failure artifacts and generate merged HTML report#374
ockham merged 1 commit intotrunkfrom
add/ci-e2e-failure-artifacts

Conversation

@ockham
Copy link
Contributor

@ockham ockham commented Mar 10, 2026

Add screenshot/trace artifact uploads per shard and a merge-artifacts job that combines them into a single downloadable HTML report, following the same pattern used in Gutenberg's end2end workflow.

AI Usage

Created with Claude Code (Opus 4.6) with the following prompt:

I'd like to change the current GHA workflow to collect artifacts from e2e -- specifically screenshots if a test fails, and to include them in the test run summary, much like Gutenberg does.

Add screenshot/trace artifact uploads per shard and a merge-artifacts
job that combines them into a single downloadable HTML report, following
the same pattern used in Gutenberg's end2end workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ockham ockham self-assigned this Mar 10, 2026
@codecov
Copy link

codecov bot commented Mar 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.97%. Comparing base (818c12a) to head (00708ed).
⚠️ Report is 2 commits behind head on trunk.

Additional details and impacted files
@@             Coverage Diff              @@
##              trunk     #374      +/-   ##
============================================
- Coverage     54.11%   52.97%   -1.15%     
  Complexity     4419     4419              
============================================
  Files           298      298              
  Lines         39448    39448              
============================================
- Hits          21348    20897     -451     
- Misses        18100    18551     +451     
Flag Coverage Δ
e2e-js 45.71% <ø> (-0.02%) ⬇️
e2e-php 40.93% <ø> (-1.90%) ⬇️
javascript 15.07% <ø> (ø)
phpunit 29.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ockham ockham marked this pull request as ready for review March 10, 2026 13:25
@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props bernhard-reiter.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@ockham ockham merged commit 0847409 into trunk Mar 10, 2026
16 of 18 checks passed
@ockham ockham deleted the add/ci-e2e-failure-artifacts branch March 11, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant