-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Number input doesn't increment on .type({uparrow}) #2110
Comments
@hally9k hi, |
@bkucera Thanks for that, clearly skimmed that part of the docs a little too hastily. Any insight on why the |
@hally9k Are you writing the command using quotes? The .type('{uparrow}') |
@jennifer-shehane Sorry this is a typo in the comments here, I am calling it correctly in the example, see the repro here: |
This should be fixed in an upcoming patch release, {uparrow} will be fixed to increment number (not date inputs) , and move cursor on contenteditables and textareas |
Has this been released? Using 3.4.1 and still can't get .type('{uparrow}') to increment number input. |
@eireland yes, see the test here that verifies that https://github.com/cypress-io/cypress/blob/simulated-type-fixes/packages/driver/test/cypress/integration/commands/actions/type_spec.js#L2184 If it's not working, please post a clear reproducible example including test code |
This issue will be closed to further comment as the exact issue here was resolved in Cypress 3.0.3 and tested. If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix. |
Current behavior:
.type({uparrow})
doesn't increment the number input.Additionally I cannot
invoke('stepUp')
either.Desired behavior:
Increments the number input's value on
.type({uparrow})
andinvoke('stepUp')
.Steps to reproduce:
https://github.com/hally9k/cypress-test-tiny
Clone this fork,
npm install
andnpm start
Versions
macOS 10.13.5
Cypress 3.0.2
The text was updated successfully, but these errors were encountered: