StrikekitStrikekit

hover

Move the pointer over a labeled element

Hover to reveal menus, tooltips, or hidden controls. Pair with should see / should in … see … to assert revealed content.

Syntax

When I hover on "<target>" [by …]

Qualifiers

QualifierRoleExample
onTarget labelhover on "Profile"
by …Optional find hinthover on "Profile" by id

Examples

When I hover on "Profile"
Then I should see "Sign out"
When I hover on "chart" by id

On this page