Link

I should be on the “__” page

Verifies the browser is on the specified page.

Pattern

^(?:|I )should be on the "([^"]*)" page$

Parameters

Position Description Value Type Restrictions
1 page name Must be defined in pages.json.

Examples

Given I am on the "home" page
When I click the "Contact" link
Then I should be on the "contactUs" page