When I fill in the rich text field "Body" with "The full story."

Replace the content of a rich text field (CKEditor) by typing a text into it, by the label of the field.

Examples

When I fill in the rich text field "Body" with "The full story."
When we fill in the rich text field "Body" with "A second version."
And I fill in the rich text field "Body" with "Written in a slide-out."
When I fill in the rich text field "Introduction" with "Welcome."
And we fill in the rich text field "Body" with "Short."

Pattern

When(/^(I |we )*fill in the rich text field "([^"]*)" with "([^"]*)"$/, …)

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