Skip to content

Conversation

@priethor
Copy link
Contributor

@priethor priethor commented Jan 5, 2026

What

Adds E2E tests for Block V3 and field types.

Why and How

  • The Block V3 features (preview-only mode, sidebar fields, live preview updates) needed automated verification.
  • Testing all field types end-to-end ensures the complete render → save → retrieve → display cycle works correctly across 20+ field types.

Testing Instructions

Run the new E2E tests:

npm run test:e2e -- tests/e2e/block-v3-features.spec.ts tests/e2e/all-field-types.spec.ts

@priethor priethor added this to the 6.9.0 milestone Jan 5, 2026
@priethor priethor self-assigned this Jan 5, 2026
@github-actions
Copy link

github-actions bot commented Jan 5, 2026

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 priethor.

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 Jan 5, 2026

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff              @@
##              trunk     #352      +/-   ##
============================================
- Coverage     51.97%   51.60%   -0.37%     
  Complexity     4410     4410              
============================================
  Files           298      298              
  Lines         39424    39424              
============================================
- Hits          20490    20345     -145     
- Misses        18934    19079     +145     
Flag Coverage Δ
e2e-js 44.95% <ø> (+0.21%) ⬆️
e2e-php 39.04% <ø> (-0.54%) ⬇️
javascript 15.07% <ø> (ø)
phpunit 29.97% <ø> (ø)

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.

@priethor priethor force-pushed the testing/e2e-fields-and-blocks branch 2 times, most recently from 1ee4fda to 28253e3 Compare January 6, 2026 02:49
@priethor priethor force-pushed the testing/e2e-fields-and-blocks branch from 28253e3 to f1b06df Compare January 6, 2026 02:57
@priethor priethor merged commit 252757f into trunk Jan 6, 2026
12 checks passed
@priethor priethor deleted the testing/e2e-fields-and-blocks branch January 6, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants