Show the product list as a list or as a grid.
Examples
When I view the product list as a list
When I view the product list as a grid
And I view the product list as a list
When we view the product list as a grid
When view the product list as a list
Pattern
When(/^(I |we )*view the product list as a (list|grid)$/, …)
Part of @webship-js/magento-steps (github.com/webship/magento-steps), a step pack for Webship-js 2.0.x.