e2e: Add e2e tests for template and template part revisions#76923
e2e: Add e2e tests for template and template part revisions#76923
Conversation
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 7.73 MB ℹ️ View Unchanged
|
| // Template and template part revisions work differently from | ||
| // post revisions: the first save writes directly to the database | ||
| // without creating a revision, so a revision is only created from | ||
| // the second save onwards. The revisions button requires at least | ||
| // two revisions, which means three saves are needed here. |
There was a problem hiding this comment.
Side note: I think these details will be confusing for folks, so we should try to improve behavior in the future.
|
Flaky tests detected in 62b9e6c. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23792277106
|
|
@Mamaduka Thanks for the review! |
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
What?
This PR adds end-to-end tests for template and template part revisions to prevent regressions.
Testing Instructions
All CI checks should be ✅.