Skip to content
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

Keyboard interaction in Cypress testing #1538

Closed
gd2910 opened this issue Feb 20, 2024 · 0 comments
Closed

Keyboard interaction in Cypress testing #1538

gd2910 opened this issue Feb 20, 2024 · 0 comments
Assignees
Milestone

Comments

@gd2910
Copy link
Contributor

gd2910 commented Feb 20, 2024

Summary

Cypress currently does not support keyboard 'Tab' events, or typing() outside of a non-input component, making confident testing of a11y E2E tests difficult.

💬 Description

Research ways in which we can incorporate keyboard events in our tests, helping to better emulate how a user would interact with our components.
There is currently an open ticket in the Cypress GH regarding this and native events, but as it is eight years old it seems unlikely to be remedied. Fixes may include custom functions, outside libraries like cypress-plugin-tab
and cypress-real-events

💰 Use value

Help developers to fully E2E test components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants