Save a component of the page as a pattern, the way a site builder does: the component's contextual menu in the Layers panel, "Create pattern", a name, "Add to library". The step waits until the Library has the pattern.
Examples
When I save the "Heading" component as the Canvas pattern "Page heading"
And I save the "Hero CTA" component as the Canvas pattern "Campaign hero"
When we save the "Section" component as the Canvas pattern "Two columns"
And we save the "Image" component as the Canvas pattern "Wide image"
Given I save the "Group" component as the Canvas pattern "Team card"
Pattern
When(/^(I |we )*save the "([^"]*)" component as the Canvas pattern "([^"]*)"$/, …)
Part of @webship-js/drupal-cms-steps (github.com/webship/drupal-cms-steps), a step pack for Webship-js 2.0.x.