Then the preview should show "Webship test: the first post of a topic."

Assert what the preview above the editor shows: a text (a part of it), and with "in bold", "in italics", "as a quote" or "as a link", that the BBCode around it was drawn so.

Examples

Then the preview should show "Webship test: the first post of a topic."
Then the preview should show "bold" in bold
And the preview should show "slanted" in italics
And the preview should show "quoted" as a quote
Then the preview should show "a link" as a link

Pattern

Then(/^the preview should show "([^"]*)"( in bold| in italics| as a quote| as a link)?$/, …)

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