-
Notifications
You must be signed in to change notification settings - Fork 4.5k
E2E: Split list view keyboard shortcuts into multiple tests #69231
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
E2E: Split list view keyboard shortcuts into multiple tests #69231
Conversation
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
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. |
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 for the PR! Overall it looks good, but some of the tests are still long and I'm wondering if we could split it up a bit more.
- should duplicate block using keyboard
- should copy and paste blocks using keyboard
- should cut and paste blocks using keyboard
- should select and deselect blocks using keyboard
- should insert and delete blocks using keyboard
Split these into the following:
- should duplicate block using keyboard
- should copy and paste blocks using keyboard
- should cut and paste blocks using keyboard
- should select blocks using keyboard
- should deselect blocks using keyboard
- should insert blocks using keyboard
- should delete blocks using keyboard
5c70c9e
to
7ba2d1a
Compare
Thanks for the review! I've refactored the tests based on your suggestions. When you have a moment, please take a look. Appreciate it! |
7a8ff9f
to
3b8d3bb
Compare
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.
Sorry for the late reply.
I have analyzed all the tests and they are all split correctly and there should be no missing tests 👍
Could you rebase this PR before merging? Thank you!
3b8d3bb
to
88ee477
Compare
…s#69231) * e2e: split list view keyboard shortcuts into multiple tests * refactor: split `select` and `deselect` e2e tests * refactor: split `insert` and `delete` e2e tests * revert: use previously better written comment Co-authored-by: yogeshbhutkar <yogeshbhutkar@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
What, Why and How?
Part of #64305
This PR splits List View > should cut, copy, paste, select, duplicate, insert, delete, and deselect blocks using keyboard into the following tests:
Testing Instructions
list-view.spec.js
pass.Screenshot