Skip to content
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

Add cy.trigger() #406

Closed
chrisbreiding opened this issue Jan 31, 2017 · 2 comments
Closed

Add cy.trigger() #406

chrisbreiding opened this issue Jan 31, 2017 · 2 comments
Assignees
Labels
pkg/driver This is due to an issue in the packages/driver directory type: feature New feature that does not currently exist
Milestone

Comments

@chrisbreiding
Copy link
Contributor

Create a cy.trigger() command that makes it easy to trigger an event on a dom element. This will help to simulate actions such as drag-n-drop, hover, and input range interaction.

cy.trigger() will take care of setting coordinates and sensible default properties such as cancelable and bubbles, allowing those properties to be overridden by the caller if needed.

@chrisbreiding chrisbreiding added the type: feature New feature that does not currently exist label Jan 31, 2017
@chrisbreiding chrisbreiding self-assigned this Jan 31, 2017
@jennifer-shehane jennifer-shehane added the pkg/driver This is due to an issue in the packages/driver directory label Feb 3, 2017
@RandallKent
Copy link
Contributor

The code for this is done, but this has yet to be released. We'll update the issue and reference the changelog when it's released.

@brian-mann
Copy link
Member

Fixed in 0.20.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg/driver This is due to an issue in the packages/driver directory type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

4 participants