The variant the product form will add is (or is not) the one with that title: its option values joined with " / " ("S/M / Navy"), as the store names it.
Examples
Then the selected variant should be "S/M / Navy"
Then the selected variant should be "Black"
And the selected variant should be "128 pages"
Then the selected variant should not be "L/XL / Rust"
But the selected variant should not be "Olive"
Pattern
Then(/^the selected variant should( not)? be "([^"]*)"$/, …)
Part of @webship-js/shopify-steps (github.com/webship/shopify-steps), a step pack for Webship-js 2.0.x.