-
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
Conversion to onPointerDown #2045
Labels
type: feature
New feature that does not currently exist
Comments
jennifer-shehane
added
type: feature
New feature that does not currently exist
stage: ready for work
The issue is reproducible and in scope
labels
Jun 27, 2018
Pointer events documentation: https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events Should be triggered on commands like:
You may be able to use |
jennifer-shehane
removed
the
stage: ready for work
The issue is reproducible and in scope
label
Dec 19, 2018
28 tasks
cypress-bot
bot
added
stage: needs review
The PR code is done & tested, needs review
stage: work in progress
and removed
stage: needs review
The PR code is done & tested, needs review
labels
Aug 8, 2019
cypress-bot
bot
added
stage: needs review
The PR code is done & tested, needs review
and removed
stage: work in progress
labels
Sep 6, 2019
cypress-bot
bot
added
stage: work in progress
stage: needs review
The PR code is done & tested, needs review
and removed
stage: needs review
The PR code is done & tested, needs review
stage: work in progress
labels
Sep 25, 2019
cypress-bot
bot
added
stage: needs review
The PR code is done & tested, needs review
and removed
stage: work in progress
labels
Oct 7, 2019
cypress-bot
bot
added
stage: pending release
and removed
stage: needs review
The PR code is done & tested, needs review
labels
Oct 11, 2019
The code for this is done in cypress-io/cypress#3030, but has yet to be released. |
Released in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current behavior:
We are converting our app to React 16.4 which introduced Pointer Events API. However, items that we convert from onClick/onMouseDown-> onPointerDown break our Cypress tests. Everything works normally on our dev environment, and we have a PointerEvents polyfill as well (cypress' Chrome version supports the API natively).
Duplicating our
onPointerDown={someAction}
toonPointerDown={someAction} onMouseDown={someAction}
fixes the tests but adds duplication.Desired behavior:
Cypress should be able to handle onPointerDown events without code duplication
Versions
Cypress 3.0.1
The text was updated successfully, but these errors were encountered: