Then the setting "Guest login button" should be "Show"

Assert the value a setting of the page holds (the search results or a settings page): the chosen option of a list, "Yes" or "No" for a tick box, the text of a field.

Examples

Then the setting "Guest login button" should be "Show"
Then the setting "guestloginbutton" should be "Show"
And the setting "Enable completion tracking" should be "Yes"
Then the setting "Guest login button" should be "Hide"
And the setting "Password policy" should be "Yes"

Pattern

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

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