Closed sync-by-unito[bot] closed 1 year ago
➤ Jennifer Shehane commented:
From Mark Noonan
This will happen any time the test has moved keyboard focus into the AUT to type or click, @Zach Williams ( https://cypressio.slack.com/team/U02BXNAU6P5 ) and I were talking about this earlier too. But maybe there’s another cause, I wonder if you have the same issue if you comment out the interaction in a test and just visit something?
➤ Zach Williams commented:
This also occurs in 9.x
➤ Mark Noonan commented:
Right, it is intended behavior that these events would not work from the context of the app under test, any keyboard events that take place in that context should be captured as input to the app under test, not Cypress.
It does make the idea of keyboard shortcuts in the spec runner page less effective. One improvement might be to move keyboard focus to the reporter panel after tests complete. Then hotkeys would work a bit more naturally at least, when tests aren’t running. Definitely there’s plenty to discuss around our hotkeys/shortcuts though.
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
This issue has been closed due to inactivity.
Something I noticed with the test running hotkeys. If I press
R
orS
, I have to left click theSpecs
area to regain focus for my hotkeys to work. Otherwise they seem to have no effect. So far it is happening on Chrome/Electron on Linux Mint 20.2https://cypressio.slack.com/archives/C039JEKF9M0/p1649096347394789
┆Issue is synchronized with this Jira Task by Unito ┆author: Bill Glesias ┆epic: UI/UX Improvements ┆friendlyId: UNIFY-1477 ┆priority: Low ┆sprint: Backlog ┆taskType: Task