This step definition is used to verify that the element must contain a particular text.
Then the "([^"]*)?" field should contain "([^"]*)?"
The field is specified by id|class|name|label.
Example:
Then the "Username" field should contain "John Smith"