Then the preference "Time format" in "User Interface" should be "07:30 AM"

A preference of a section of Settings > Preferences shows a value: a list's option by its label, a switch "on" or "off", or a text.

Examples

Then the preference "Time format" in "User Interface" should be "07:30 AM"
Then the preference "Pretty dates" in "User Interface" should be "on"
And the preference "Date format" in "User Interface" should be "2026-07-24"
Then the preference "Display next list entry after delete/move" in "User Interface" should be "on"
Then the preference "Time format" in "User Interface" should be "07:30"

Pattern

Then(/^the preference "([^"]*)" in "([^"]*)" should be "([^"]*)"$/, …)

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