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

Unable to test/verify certain keyboard interactions in cypress tests #5088

Closed
seanforyou23 opened this issue Oct 30, 2020 · 1 comment
Closed
Labels

Comments

@seanforyou23
Copy link
Collaborator

seanforyou23 commented Oct 30, 2020

Describe the issue. What is the expected and unexpected behavior?

In the cypress test suite, testing for certain keyboard interactions such as tab and pressing space/enter was finicky for me. I could get it to work every once in a while, but after much experimentation and trying various approaches I settled for using click as a last resort. The functionality seems to work fine in the components themselves, just that I haven't found a way to verify it and reproduce the interaction flow from within cypress. The components I've noticed this in are Modal and Form.

Please provide the steps to reproduce. Feel free to link CodeSandbox or another tool.

Try to trigger the same interaction in the links I posted above with a keypress event.

Is this a bug or enhancement? If this issue is a bug, is this issue blocking you or is there a work-around?
It seems like maybe a bug with cypress, but maybe I'm just doing it wrong?

What is your product and what release version are you targeting?
Ongoing PF development

Related to #5081

@stale
Copy link

stale bot commented Dec 31, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Dec 31, 2020
@stale stale bot closed this as completed Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant