You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is an input within HTML that is covered by a parent element with the css property of visibility :hidden, Cypress interprets this as non-actionable and does not allow typing.
I can, however, type into the input when typing tab on my keyboard with the element coming into focus from there. I tried working around this by doing cy.get('input').focus().type('John'), but it still fails saying the element is not visible.
Desired behavior:
While the element cannot be clicked and typed into, there should be a way to replicate the behavior or 'tabbing' into an input and typing.
Steps to reproduce: (app code and test code)
Can reproduce in the code below originally provided via #2558 (comment)
I guess this is technically closed - since it is now possible to call .focus().type(), but I don't consider the need to call .focus() very obvious when a user sees this error on .type() alone.
The code for this is done in #2982, but this has yet to be released. We'll update this issue and reference the changelog when it's released.
Current behavior:
When there is an input within HTML that is covered by a parent element with the css property of
visibility :hidden
, Cypress interprets this as non-actionable and does not allow typing.I can, however, type into the input when typing
tab
on my keyboard with the element coming into focus from there. I tried working around this by doingcy.get('input').focus().type('John')
, but it still fails saying the element is not visible.Desired behavior:
While the element cannot be clicked and typed into, there should be a way to replicate the behavior or 'tabbing' into an input and typing.
Steps to reproduce: (app code and test code)
Can reproduce in the code below originally provided via #2558 (comment)
HTML
Spec file
Versions
Cypress 3.3.1
The text was updated successfully, but these errors were encountered: