close
Skip to content

CI: Include WP trunk in e2e test runs on PRs#373

Merged
ockham merged 1 commit intotrunkfrom
update/ci-run-e2e-tests-against-wp-trunk-on-prs
Mar 10, 2026
Merged

CI: Include WP trunk in e2e test runs on PRs#373
ockham merged 1 commit intotrunkfrom
update/ci-run-e2e-tests-against-wp-trunk-on-prs

Conversation

@ockham
Copy link
Contributor

@ockham ockham commented Mar 10, 2026

I've noticed that e2e tests are failing when run against WP trunk. (See e.g. here and here.)

This is somewhat unsurprising, since we're currently near the release of WP 7.0, so WP trunk has evolved considerably since the latest stable release (6.9.x).

It'd be good to preemptively catch problems, so I'm adding back WP trunk to the test matrix for PRs (rather than only on merge, i.e. after the fact).

If we find that e2e tests take to long, we might want to audit them (and e.g. tweak test fixtures and setup, and/or use test.step to cover multiple scenarios in one test).

@ockham ockham self-assigned this Mar 10, 2026
@ockham ockham added this to the 6.8.1 milestone Mar 10, 2026
@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.

@codecov
Copy link

codecov bot commented Mar 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.99%. Comparing base (e6bb412) to head (cba18aa).
⚠️ Report is 1 commits behind head on trunk.

Additional details and impacted files
@@             Coverage Diff              @@
##              trunk     #373      +/-   ##
============================================
- Coverage     53.88%   52.99%   -0.89%     
  Complexity     4419     4419              
============================================
  Files           298      298              
  Lines         39448    39448              
============================================
- Hits          21256    20906     -350     
- Misses        18192    18542     +350     
Flag Coverage Δ
e2e-js 45.71% <ø> (-0.02%) ⬇️
e2e-php 41.05% <ø> (-1.30%) ⬇️
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 merged commit 818c12a into trunk Mar 10, 2026
14 of 16 checks passed
@ockham ockham deleted the update/ci-run-e2e-tests-against-wp-trunk-on-prs branch March 10, 2026 11:50
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