Then the layer "Board" should be selected

Assert that a layer is selected (its row is checked in the layer tree), or is not.

Examples

Then the layer "Board" should be selected
Then the layer "Rectangle" should not be selected
And the layer "Group" should be selected
Then the layer "Webship test text" should be selected
Then the layer "Value 2" should be selected

Pattern

Then(/^the layer "([^"]*)" should( not)? be selected$/, …)

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