A tab of the app is selected (aria-selected), or not. The step waits for the state.
Examples
Then the app's "Components" tab should be selected
Then the app's "Color" tab should not be selected
And the app's "Typography" tab should be selected
Then the app's "Elevation" tab should not be selected
Then the app's "Color" tab should be selected
Pattern
Then(/^the app's "([^"]*)" tab should( not)? be selected$/, …)
Part of @webship-js/flutter-steps (github.com/webship/flutter-steps), a step pack for Webship-js 2.0.x.