Open the website editor on a page: the page is shown in the website preview of the web client, the "Edit" button is clicked and the step waits for the editor panel with its building blocks (#oe_snippets). With on "<path>" the editor opens on that page; on the front page otherwise.
Examples
When I open the website editor
When we open the website editor
And open the website editor
When I open the website editor on "/contactus"
And we open the website editor on "/shop"
Pattern
When(/^(I |we )*open the website editor(?: on "([^"]*)")?$/, …)
Part of @webship-js/odoo-steps (github.com/webship/odoo-steps), a step pack for Webship-js 2.0.x.