Then the shortcuts should list "Rectangle"

Assert that the shortcuts listed (by the tab on show and the search) include an action, or do not.

Examples

Then the shortcuts should list "Rectangle"
Then the shortcuts should not list "Ellipse"
And the shortcuts should list "Board"
Then the shortcuts should list "Undo"
But the shortcuts should not list "Rectangle"

Pattern

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

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