-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed as not planned
Closed as not planned
Copy link
Labels
[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
As this E2E test shows, changes made in the editor should be reflected in the preview without you having to hit the save button.
However, as recent E2E test failures show, it seems this no longer works as expected.
Example: https://github.com/WordPress/gutenberg/actions/runs/13635917377/job/38140477779?pr=69395
This might be the core problem.
Step-by-step reproduction instructions
- Open a post.
- Update the title and/or content.
- Do not click the Save button.
- Click the "View" toggle button.
- Click "Preview in new tab".
- ✅WordPress 6.7: Updates made in the editor will be reflected in the preview.
- ❌WordPress nightly: Updates made in the editor will NOT be reflected in the preview.
If you want to run the e2e tests that are failing:
npm run test:e2e test/e2e/specs/editor/various/preview.spec.js
Screenshots, screen recording, code snippet
WordPress 6.7
https://playground.wordpress.net/?wp=6.7
26fd23bcd1c459d57613bdd71472a06d.mp4
WordPress nightly (6.8-alpha-59921)
94a1e39c108240f873bd63532ed51bcf.mp4
Environment info
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
yogeshbhutkar
Metadata
Metadata
Assignees
Labels
[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended