Skip to content

Conversation

@nicolethoen
Copy link
Contributor

What: Closes #9016

cypress tests are very unreliable when it comes to keyboard handling. I was able to update the formerly skipped keyboard handling tests to check that the menus are opening via keyboard. However, further side effects (like moving browser focus into the menu when it opens via keyboar) does not seem so reliable to test with cypress. I don't know how it was working before. When I manually test the demo-app with keyboard it all works reliably, but the cypress tests themselves needed to be pared down to not be flakey.

Moving browser focus into the menu when keyboard opens the dropdown feels more like a dropdown test anyway, not a notification drawer test.

@patternfly-build
Copy link
Contributor

patternfly-build commented May 5, 2023

@nicolethoen nicolethoen force-pushed the weird_dropdown_keyboard_handling branch from 1a55816 to 6af5af5 Compare May 5, 2023 19:37
Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@thatblindgeye thatblindgeye merged commit 8d1ee08 into patternfly:v5 May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug - NotificationDrawer/Treeview - Dropdown menus cant open/navigate via keyboard

5 participants