-
Notifications
You must be signed in to change notification settings - Fork 4.9k
feat(ui-mode): add key shortcuts for playwright uI test runner #29868
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
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| sendMessageNoReply('stop'); | ||
| } else if (e.code === 'KeyU' && (e.metaKey || e.ctrlKey)) { | ||
| e.preventDefault(); | ||
| reloadTests(); |
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.
I feel like KeyR should be reload which seems more natural to the users. Maybe Enter+Command should be run?
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.
I feel like KeyR should be reload which seems more natural to the users. Maybe Enter+Command should be run?
Thank you for your reply.
Then I'll change it to Enter+Command.
This comment has been minimized.
This comment has been minimized.
|
As comments are edited |
This comment has been minimized.
This comment has been minimized.
|
Sorry for the late reply. We thought a little bit about it, when you are on a test item, you can already as of today press Enter in order to run a test. So I'd start with F5 / F6 now for reloading and stopping the current tests. What do you think? I pushed to your branch, but need to adjust tests. |
|
F5 / F6 are also good. |
This comment has been minimized.
This comment has been minimized.
Test results for "tests 1"8 flaky26830 passed, 620 skipped Merge workflow run. |
related issue: #28899
Motivation:
Introduce keyboard shortcuts for common actions in the Playwright UI test runner to enhance developer productivity and streamline the test execution process.
Modification:
Make shortcut keydown event in
uiModeView.tsxResult: