cypress-io / cypress-chrome-recorder

Export Cypress Tests from Google Chrome DevTools' Recorder
MIT License
226 stars 18 forks source link

feat(hover): add support for hover #34

Closed jecfish closed 1 year ago

jecfish commented 1 year ago

A recorder hover event will be mapped to cy.get("#element").trigger("mouseover");.

I'm aware of this is not a 1-1 match as trigger event in cypress only works for element with javascript function (e.g. mouseover). For element with native css:hover, it doesn't trigger the UI changes.

Closes #29.

Refer to:

Test pages:

jordanpowell88 commented 1 year ago

Can you add hover to the list of supported step types in the README.md?

jecfish commented 1 year ago

@jordanpowell88 added!

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: