Assert the editor's preview shows, or does not show, a text: what the page will look like with the pending changes, before anything is published. The text is read inside the preview frame.
Examples
Then the Canvas preview should show "Welcome"
And the Canvas preview should show "Your heading goes here"
Then the Canvas preview should not show "Old heading"
And the Canvas preview should not show "Lorem ipsum"
Then the Canvas preview should show "Heading from the editor"
Pattern
Then(/^the Canvas preview should( not)* show "([^"]*)"$/, …)
Part of @webship-js/drupal-cms-steps (github.com/webship/drupal-cms-steps), a step pack for Webship-js 2.0.x.