Assert that a form field contains or does not contain specific text.
Step pattern
Then (the )*"([^"]*)?" field should( not)* contain "([^"]*)?"Examples
Example #1
Then the "Username" field should contain "John Smith"Example #2
Then the "#username" field should not contain "John Smith"Example #3
And the "Email" field should contain "jon@example.com"