Assert that the visual editor is, or is not, open on the page.
Examples
Then the visual editor should be open
Then the visual editor should not be open
And the visual editor should be open
And the visual editor should not be open
Then the visual editor should be open
Pattern
Then(/^the visual editor should( not)* be open$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.