-
Notifications
You must be signed in to change notification settings - Fork 4.6k
e2e-tests: update preview test to wait for publish panel to appear before closing it #39100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bfa6aa0 to
dd3dc5c
Compare
|
Size Change: 0 B Total Size: 1.15 MB ℹ️ View Unchanged
|
|
I had three green runs with this change so this is probably safe to try |
alexstine
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a thought.
alexstine
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gwwar Looks good. 👍
|
Thanks for the review @alexstine ! |
I noticed that trunk sometimes had red E2E runs. Failures would sometimes occur in the preview test suite, since the test would get stuck with the post-publish panel being open. This PR updates the test to wait for the actual close button to appear before attempting to click it.
Here's an example bad run: https://github.com/WordPress/gutenberg/runs/5337988645?check_suite_focus=true
Testing Instructions