Then the selected tab should show "brew install example"

Assert the panel of the selected tab (in any group of tabs of the page) shows a text.

Examples

Then the selected tab should show "brew install example"
And the selected tab should show "const port: number = config.port;"
Then selected tab should show "winget install Example.Cli"
And the selected tab should show "Open Terminal"
Then the selected tab should show "curl -fsSL"

Pattern

Then(/^(?:the )?selected tab should show "([^"]*)?"$/, …)

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