Link

I should be redirected to the “__” page

Verifies the browser is on the specified page.

Pattern

^I should be redirected to 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 redirected to the "contactUs" page