Skip to content

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

Closed
@kuceb

Description

@kuceb
Contributor

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

Activity

self-assigned this
on Dec 27, 2018
added
stage: needs reviewThe PR code is done & tested, needs review
pkg/driverThis is due to an issue in the packages/driver directory
on Jan 24, 2019
cypress-bot

cypress-bot commented on Jun 11, 2019

@cypress-bot
Contributor

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

jennifer-shehane commented on Jun 19, 2019

@jennifer-shehane
Member

Fixing this fixes this situation also: #4420

cypress-bot

cypress-bot commented on Jun 27, 2019

@cypress-bot
Contributor

Released in 3.3.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @jennifer-shehane@kuceb

    Issue actions

      cy.type shouldn't perform actionability if subject is the currently focused element · Issue #3001 · cypress-io/cypress