Open a page in the visual editor, as a person does with its "Edit" tab, and wait for the editor to be ready (its hook ve.activationComplete). The welcome dialog is closed when it shows.
Examples
When I edit the page "Visual editor test page" in the visual editor
When we edit the page "Editing test page" in the visual editor
And I edit the page "Reading test page" in the visual editor
When I edit the page "Second test page" in the visual editor
When I edit the page "Visual editor test page" in the visual editor
Pattern
When(/^(I |we )*edit the page "([^"]*)" in the visual editor$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.