Focus Resetting with Cypress --record Flag Enabled #212
Unanswered
Selinaqianli
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm encountering an issue with keyboard focus when running tests in Cypress with the
--record
flag enabled. If there is no next focusable item when pressing Tab, the focus unexpectedly resets back to the first focusable item. This behaviour only happens when the--record
flag is turned on.--record
flag, focus behaves as expected: it moves forward between elements and remove focus when no more focusable items are available.--record
flag enabled, if there is no next focusable item, the focus resets to the first focusable element.Environment:
Test example:
Run Without
--record
:Screen.Recording.2024-09-20.at.9.59.25.AM.mov
Run With
--record
:Screen.Recording.2024-09-20.at.10.01.12.AM.mov
Beta Was this translation helpful? Give feedback.
All reactions