Change a preference of the page on screen by its label (a text field, or a box to tick: "yes" / "no"); "When I save my preferences" saves it. The value it had is put back after the scenario.
Examples
When I set the preference "Location" to "Amman test office"
When I set the preference "Web Site" to "https://example.com"
When I set the preference "About me" to "I test the forum with the suite."
When we set the preference "Location" to "A test office"
When I set the preference "Hide my public profile" to "no"
Pattern
When(/^(?:I|we) set the preference "([^"]*)" to "([^"]*)"$/, …)
Part of @webship-js/discourse-steps (github.com/webship/discourse-steps), a step pack for Webship-js 2.0.x.