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

cy.type shouldn't perform actionability if subject is the currently focused element #3001

Bkucera opened this issue Dec 27, 2018 · 3 comments


Copy link

@Bkucera Bkucera commented Dec 27, 2018

If the subject to cy.type is focused, we shouldn't perform actionability because the user is already able to start sending keys to the element without needing to click/tab into it.

This allows apps to call .focus() on an otherwise covered/animating element and allow cypress to still type into it, just as a user would

Copy link

@cypress-bot cypress-bot bot commented Jun 11, 2019

The code for this is done in cypress-io/cypress#2982, but has yet to be released.
We'll update this issue and reference the changelog when it's released.


Copy link

@jennifer-shehane jennifer-shehane commented Jun 19, 2019

Fixing this fixes this situation also: #4420


Copy link

@cypress-bot cypress-bot bot commented Jun 27, 2019

Released in 3.3.2.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants