Then the "Size" option should be "M"

Assert a value of an option is (or is not) the selected one.

Examples

Then the "Size" option should be "M"
Then the "Color" option should be "Blue"
And the "Size" option should not be "XL"
Then the "Color" option should be "Orange"
Then the "Size" option should be "S"

Pattern

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

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