Then the assets should list the component "Rectangle"

Assert that the Assets tab lists a component (of the file, or of a library it uses), or does not. Folded groups are opened.

Examples

Then the assets should list the component "Rectangle"
Then the assets should list the component "Logo"
And the assets should not list the component "Logo"
Then the assets should list the component "Hero"
Then the assets should list the component "Board"

Pattern

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

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