Link

I should see “__”

Verifies that the page contains the specified text. Note that this step may sometimes fail if the text is split across multiple elements (e.g. parts of the text are styled individually using multiple <span></span> elements).

Pattern

^(?:|I )should see "([^"]*)"$

Parameters

Position Description Value Type Restrictions
1 text/variables string  

Examples

Given I am on the "home" page
Then I should see "Copyright © 2019."