Assert that a preference is ticked or not, by its label.
Examples
Then the preference "Mark all edits minor by default" should be ticked
Then the preference "Mark all edits minor by default" should not be ticked
And the preference "Show preview before edit box" should be ticked
Then the preference "Warn me when I leave an edit page with unsaved changes" should be ticked
And the preference "Show preview before edit box" should not be ticked
Pattern
Then(/^the preference "([^"]*)" should( not)* be ticked$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.