Then the text editor should contain "Hello, world."

Assert the text editor in the open plugin form contains (or does not contain) a text.

Examples

Then the text editor should contain "Hello, world."
Then the text editor should not contain "Lorem ipsum"
And the rich text editor should contain "Opening hours"
Then the text editor should contain "About this site."
But the rich text editor should not contain "Draft"

Pattern

Then(/^the (?:rich )?text editor should( not)* contain "([^"]*)"$/, …)

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