Then publishing the Canvas page changes through the editor should fail with "is already in use"

Publish through the editor's Review widget and expect Canvas to refuse: the widget stays open and names the reason, which the step reads. The case a tester meets first is a URL alias that a page in the trash still holds ("The alias /landing is already in use in this language.").

Examples

Then publishing the Canvas page changes through the editor should fail with "is already in use"
And publishing the Canvas page changes through the editor should fail with "The alias /landing is already in use in this language."
Then publishing the Canvas changes through the editor should fail with "already in use"
And publishing the Canvas changes through the editor should fail with "1 Error"
Then publishing the Canvas page changes through the editor should fail with "alias"

Pattern

Then(/^publishing the Canvas (?:page )?changes through the editor should fail with "([^"]*)"$/, …)

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