Template Activation: Make template edit test less flaky#73975
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: 2.58 MB ℹ️ View Unchanged
|
|
Flaky tests detected in 7c18d1c. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/20270934683
|
|
I think the second run was less flaky, using |
|
@mikachan, have we identified the problem? Looking at failing test traces can be helpful here. Last time I checked, the editor was displaying a multi-entity save step instead of a standard one, which caused it to fail to save. I don't mind using the |
This seems to be the consistent issue each time. The editor uses the multi-entity save but I'm assuming |
|
Maybe we could inline the locators and steps for the second save. |
|
Looks like inlining the second save action may work, it doesn't look like it's been reported as flaky here on the last run from this PR. |
What?
Closes #73752
Why?
Attempts to fix this test to make it less flaky.
How?
Checks that the save button is enabled before attempting to save the template edits.
Testing Instructions
All tests should pass first time.