Action Steps

The minimum vocabulary the team needs to drive a page. Press, click, follow, attach. Product owners can read these in feature files without translation.

Step phrasings in this group

The book sidebar lists each individual step page under this group.

When I press "Log In"

Press a button, submit input, or link by its visible text.

When I press "btn-pressid" by attr

Press a button by its attribute (id, class, name, placeholder, data-*).

When I click "Contact Us"

Click a link or button by its visible text.

When I click "#about-us-id" by attr

Click a link or button by its attribute (id, class, name, data-*).

When I click "Edit" in the "John Smith" row

Click a clickable element inside a table row identified by text.

When I follow "Contact Us"

Follow a link by its visible text.

When I attach the file "profile-icon.jpg" to "#profile-icon-upload"

Attach a file from tests/assets/ to a file input.

Back to all step groups