Skip to content

Add cy.hover() #10

Open
Open
@jennifer-shehane

Description

@jennifer-shehane

Need to be able to hover in/out of DOM elements.

Example for hover
cy.get("@firstRow").hover()

I'm not sure what a stop hover command would look like.

Currently I would achieve this with mouseOver and mouseOut events. The hover command could follow a similar convention.

Other considerations:

  • In what direction does the mouse come from for hover
  • How long should the hover occur.
  • How do you "pause" a hover to allow for possible css animations.
  • Which actions cause you no longer to hover.

Metadata

Metadata

Assignees

No one assigned

    Labels

    existing workaroundpkg/driverThis is due to an issue in the packages/driver directorystage: proposal 💡No work has been done of this issuetype: featureNew feature that does not currently exist

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions