Assert that the list shows the indicator of an active filter (the badge above the rows), or does not.
Examples
Then the list should have the filter "Only deleted records"
Then the list should not have the filter "Only deleted records"
And the list should have the filter "Brand: Webship Brand Alpha"
Then the list should have the filter "Created from Jan 1, 2026"
But the list should not have the filter "Brand: Webship Brand Alpha"
Pattern
Then(/^the list should( not)* have the filter "([^"]*)"$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.