Then the tracking consent for "analytics" should be "yes"

The visitor's tracking consent for one purpose ("analytics", "marketing", "preferences", "sale of data"), as the store records it: "yes", "no" or "undecided".

Examples

Then the tracking consent for "analytics" should be "yes"
Then the tracking consent for "marketing" should be "no"
And the tracking consent for "preferences" should be "undecided"
Then the tracking consent for "analytics" should not be "yes"
But the tracking consent for "sale of data" should not be "undecided"

Pattern

Then(/^the tracking consent for "([^"]*)" should( not)? be "([^"]*)"$/, …)

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