-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 should not insert text when non-shift modifier key is pressed #5424
Comments
Released in |
@jennifer-shehane @bkucera I think that the following code is now acting differently for me in v3.5.0^
As you can see in the screenshot, instead of tying in I think that {selectall} should also be made to act like the "shift" key. Thoughts? |
@tnrich what version of Cypress are you on? I'll need to know the exact version |
@bkucera Latest v3.6.0 |
@bkucera bump |
@tnrich could you screenshot the console table that gets logged when you click on the |
Here's that screenshot @bkucera Please let me know if you need any more info! |
@bkucera bump? |
The behavior detailed in this original issue has a test around it and has been fixed. Please open a new issue with a complete reproducible example - likely there is something special in your use case that we didn't cover. Include test code and html files to run the test against. Commenting in closed issues is not ideal. |
Current Behavior:
cy.get('input').type('{meta}a')
sends
keypress
,input
, and inserts 'a' into the inputDesired Behavior:
cy.get('input').type('{meta}a')
should only send
keydown
/keyup
and not insert the charater 'a' into the inputversions: -
3.4.1
The text was updated successfully, but these errors were encountered: