Then the sidebar should show "Products" as the current page

Assert which sidebar item is the page on screen (the item the panel marks as current).

Examples

Then the sidebar should show "Products" as the current page
Then the sidebar should not show "Orders" as the current page
And the sidebar should show "Welcome" as the current page
Then the sidebar should show "Notes" as the current page
And the sidebar should show "Brands" as the current page

Pattern

Then(/^the sidebar should( not)* show "([^"]*)" as the current page$/, …)

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