-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Migrate list view E2E tests to Playwright #47919
Conversation
Size Change: +15 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
Flaky tests detected in 3b1f5e5. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4156284101
|
01ea80b
to
341056d
Compare
@WunderBart #45135 will likely get merged in soon, will this hurt your efforts? |
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.
Awesome work! Thanks a lot!
Looks like it will, @alexstine! Thanks for the heads up, I'll keep an eye on that PR. 👍 |
1891141
to
3b1f5e5
Compare
@kevin940726 @Mamaduka, it's ready for another go! 🙌 |
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.
Looks perfect! Thanks a lot! 💯
@alexstine, this one's ready to be shipped. Let me know if I should wait for #45135 – I don't want to block you, in case you're ready as well. |
Don't do it if it's unnecessary for the test to pass as it increases the fragility by bringing another selector into the equation.
Dragged the wrong thing by mistake :)
This reverts commit e91096e.
This reverts commit 23d9daf.
If the error is actually thrown, the preceding assertion that checks the number of List View items will catch it.
3b1f5e5
to
4dd325f
Compare
@alexstine, I've migrated the test you've added in #45135. Let me know if it looks good to you! |
@WunderBart I am sure it is fine. The code diffs are a bit too much for me to check in this PR. I imagine these tests will likely change in the future as the list view itself needs some adjustments after discovery of a couple random focus bugs. Thanks. |
@WunderBart Just wanted to see if you are merging this one soon? I am working on more list view improvements which could use E2E tests. |
What?
Migrate List View E2E tests to Playwright.
Why?
How?
Testing Instructions
The output of the following should be all ✅: