When I switch the inspect panel to "Code"

Switch what the Inspect tab shows: "Styles", "Computed" or "Code".

Examples

When I switch the inspect panel to "Code"
When I switch the inspect panel to "Styles"
And I switch the inspect panel to "Computed"
When we switch the inspect panel to "Code"
When I switch the inspect panel to "Styles"

Pattern

When(/^(?:I|we) switch the inspect panel to "([^"]*)"$/, …)

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