When I select the layer "Board"

Select a layer by its row in the layer tree, or add it to the selection (Shift).

Examples

When I select the layer "Board"
When I add the layer "Ellipse" to the selection
And I select the layer "Hero"
When we select the layer "Rectangle"
When I add the layer "Rectangle" to the selection

Pattern

When(/^(?:I|we) (select|add) the layer "([^"]*)"(?: to the selection)?$/, …)

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