Set the content of the rich text editor of a formatted text field, by the label of the field. HTML is taken as it is; plain text becomes a paragraph. What the field held before is replaced.
Examples
When I write "<p>Hello <strong>bees</strong></p>" in the "Body" editor
When I write "A plain sentence." in the "Body" editor
When we write "<h2>Hours</h2><p>Nine to five.</p>" in the "Body" editor
And I write "<ul><li>One</li><li>Two</li></ul>" in the "Body" editor
When write "Short note" in the "Description" editor
Pattern
When(/^(I |we )*write "(.*)" in the "([^"]*)" editor$/, …)
Part of @webship-js/backdrop-cms-steps (github.com/webship/backdrop-cms-steps), a step pack for Webship-js 2.0.x.