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

Closed
Bkucera opened this issue Dec 27, 2018 · 3 comments

Comments

2 participants
@Bkucera
Copy link
Member

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

@cypress-bot

This comment has been minimized.

Copy link

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.

@jennifer-shehane

This comment has been minimized.

Copy link
Member

commented Jun 19, 2019

Fixing this fixes this situation also: #4420

@cypress-bot

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.