Then the "Deleted records" filter should be set to "Only deleted records"

Assert the value of a filter's field (the filters are opened to read it, and closed again).

Examples

Then the "Deleted records" filter should be set to "Only deleted records"
Then the "Brand" filter should be set to "Webship Brand Alpha"
And the "Created from" filter should be set to "2026-01-01"
Then the "Deleted records" filter should be set to "Without deleted records"
And the "Is published" filter should be set to "Yes"

Pattern

Then(/^the "([^"]*)" filter should be set to "([^"]*)"$/, …)

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