-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Migrated popovers.test.js to Playwright #39910
Conversation
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @shanjidah! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
@kevin940726 Can you please add it in #38851? |
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.
Thank you for creating the PR!
There are some potential improvements we can make to make it follow the best practices though. Also the Playwright documentation is a good resource to start with when first writing tests.
Feel free to ask any questions you may have :), either here or in the #core-test Slack channel.
Hey @kevin940726 👋 |
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.
Well done! Just some minor feedback/nitpickings left 💯
We should also remove the original test file though :).
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.
Thanks! Just some small copy-paste errors left!
Note that we should also remove the original test file (packages/e2e-tests/specs/editor/various/popovers.test.js
) too :)
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.
Perfect 💯! Thanks a lot! ❤️
What?
Based on #38570, part of #38851. Popovers popovers.test.js to its Playwright counterpart.
Why?
Migration to Playwright
How?
Migration to Playwright
Testing Instructions
npm run test-e2e:playwright -- test/e2e/specs/editor/various/popovers.spec.js
Screenshots