Then the side panel should offer the tab "Design"

Assert that the side bars of the workspace offer a tab, or do not (a viewer has no "Design" and no "Layers" to edit).

Examples

Then the side panel should offer the tab "Design"
Then the side panel should not offer the tab "Design"
And the side panel should offer the tab "Inspect"
Then the side panel should offer the tab "Tokens"
But the side panel should not offer the tab "Prototype"

Pattern

Then(/^the side panel should( not)? offer the tab "([^"]*)"$/, …)

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