Assert that the grouped list shows a group (its heading), or how many it shows on the page.
Examples
Then the list should show the group "Processing"
Then the list should show 3 groups
And the list should not show the group "Cancelled"
Then the list should show the group "Webship Brand Alpha"
Then the list should show 1 group
Pattern
Then(/^the list should( not)* show (?:the group "([^"]*)"|(\d+) groups?)$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.