When I click on "Bold" command button in the rich text editor field "Body"

Press a toolbar button of a CKEditor 5 rich text field by the button's accessible label ("Bold", "Link", "Insert Media", "Source"), or press the save/insert/action button of the balloon that is currently open (a link form, a media caption). The field argument is informational: core renders one toolbar per editor and the balloon belongs to the focused editor.

Examples

When I click on "Bold" command button in the rich text editor field "Body"
And I click on "Insert Media" command button in the rich text editor field "Body"
When we click on "Link" command button in the rich text editor field "Body"
And I click on the save button in "Body" rich text editor field
When I click on the insert button in the "Body" rich text editor field

Pattern

When(/^(I |we )*click on (?:"([^"]*)" command button in the rich text editor field "([^"]*)"|the (save|insert|action|apply) button in (?:the )?"([^"]*)" rich text editor field)$/, …)

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