When I publish the Canvas page changes

Publish every pending Canvas change (the auto-saves the editor or the API steps created) through the authoring API: deterministic and fast, with no editor timing involved. When a page is open in the editor its auto-saved layout is re-posted first, so a change the editor is still debouncing is included.

Examples

When I publish the Canvas page changes
And I publish the pending Canvas changes
When we publish the Canvas changes
And we publish the pending Canvas page changes
Then I publish the Canvas page changes

Pattern

When(/^(I |we )*publish the (?:pending )?Canvas (?:page )?changes$/, …)

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