Then the layers should list "Board"

Assert that the layers of the open page list a layer, or do not (folded parents are opened first).

Examples

Then the layers should list "Board"
Then the layers should not list "Ellipse"
And the layers should list "Webship test text"
Then the layers should list "Hero"
Then the layers should list "Value 1"

Pattern

Then(/^the layers should( not)? list "([^"]*)"$/, …)

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