When I insert the "Heading" component from the Canvas Library

Insert a component or pattern from the open Library tab into the page in the editor, the way a site builder does: right-click its row and choose "Insert". The inserted item becomes selected, so the editor URL gains a new /component/<uuid>, which the step waits for to confirm the insert. Inserting twice lands two independent copies. Open the matching Library tab first and use the item's visible label.

Examples

When I insert the "Heading" component from the Canvas Library
And I insert the "Text" component from the Canvas Library
When we insert the "Hero CTA" component from the Canvas Library
And I insert the "Site header" pattern from the Canvas Library
When we insert the "Counters" pattern from the Canvas Library

Pattern

When(/^(I |we )*insert the "([^"]*)" (component|pattern) from the Canvas Library$/, …)

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