Then the "Status" switch of the list row "Webship bulk mug" should be on

Assert whether the switch a list row shows in a column is on or off.

Examples

Then the "Status" switch of the list row "Webship bulk mug" should be on
Then the "Status" switch of the list row "Webship bulk mug" should be off
Then the "Displayed" switch of the list row "Webship test category" should be on
And the "Status" switch of the list row "Customizable mug" should be on
Then the "Enabled" switch of the list row "shopper@example.com" should be on

Pattern

Then(/^the "([^"]*)" switch of the list row "([^"]*)" should be (on|off)$/, …)

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