Set the content of a CKEditor 5 rich text field, found by its label, name, id or CSS selector. Writes through the editor instance core registers in Drupal.CKEditor5Instances, so the value goes through the editor's own model and is synced back to the source textarea; a plain "fill in" cannot reach the editor's editable area. The value may be HTML.
Examples
When I fill in the rich text editor field "Body" with "Hello from the suite"
And I fill in the rich text editor field "Body" with the "<p>Hello</p>"
When we fill in the rich text editor field "Description" with "A short text"
And I fill in the rich text editor field "edit-body-0-value" with "By id"
When I fill in the rich text editor field "body[0][value]" with "By name"
Pattern
When(/^(I |we )*fill in the rich text editor field "([^"]*)" with(?: the)? "([^"]*)"$/, …)
Part of @webship-js/drupal-core-steps (github.com/webship/drupal-core-steps), a step pack for Webship-js 2.0.x.