Link

I should see a link that points to “__”

Verifies that the page contains a link to the specified page. Note that kosher will attempt to find a link with just the specified parameter and with the environment URL combined with the parameter.

Pattern

^I should see a link that points to "([^"]*)"$	

Parameters

Position Description Value Type Restrictions
1 text string URL that the link should point to. This needn’t include the environment URL specified in the environments.json file.

Examples

Given I am on the "home" page
Then I should see a link that points to "/about-us"