Then the "By category" filter should be set to "Science"

Assert the value a filter of the sidebar is set to (the one it marks as chosen).

Examples

Then the "By category" filter should be set to "Science"
Then the "By category" filter should be set to "All"
And the "By staff status" filter should be set to "Yes"
Then the "By date published" filter should be set to "Any date"
And the "By groups" filter should be set to "Editors"

Pattern

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

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