Turn a filter of the search options on or off, by its name under "Filters". The entry is a toggle: applying a filter that is on turns it off.
Examples
When I filter the records by "Won"
When we filter the records by "My Quotations"
And I filter the records by "Archived"
When I toggle the "My Pipeline" filter
And we toggle the "Companies" filter
Pattern
When(/^(I |we )*(?:filter the records by "([^"]*)"|toggle the "([^"]*)" filter)$/, …)
Part of @webship-js/odoo-steps (github.com/webship/odoo-steps), a step pack for Webship-js 2.0.x.