Then the preview should show "Launch day"

Assert that the page in the preview shows, or does not show, a text. The preview reloads a moment after each change of the form.

Examples

Then the preview should show "Launch day"
Then the preview should not show "An old title"
Then the preview should show "A title typed a moment ago"
And the preview should show "Featured"
And the preview should not show "Page not found"

Pattern

Then(/^the preview should( not)* show "([^"]*)"$/, …)

Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.