Assert that the sidebar lists, or does not list, an item (by its label, its badge left out): what the signed-in account may open.
Examples
Then the sidebar should list "Products"
Then the sidebar should not list "Users"
And the sidebar should list "Shop Dashboard"
Then the sidebar should list "Notes"
But the sidebar should not list "Settings"
Pattern
Then(/^the sidebar should( not)* list "([^"]*)"$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.