Then the editor should show the error "You must specify a subject when posting a new topic."

Assert an error of the editor that is open, shown above its fields (a part of it is enough).

Examples

Then the editor should show the error "You must specify a subject when posting a new topic."
Then the editor should show the error "Your message contains too few characters."
And the editor should show the error "too few characters"
Then the editor should show the error "You must specify a subject when composing a new message."
And the editor should show the error "The requested users to be added do not exist."

Pattern

Then(/^the editor should show the error "([^"]*)"$/, …)

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