When I go to the next page of the product list

Go to a page of the product list: the next one, the previous one or a page by its number.

Examples

When I go to the next page of the product list
When I go to the previous page of the product list
When I go to page 2 of the product list
And we go to page 3 of the product list
When we go to the next page of the product list

Pattern

When(/^(I |we )*go to (?:the (next|previous) page|page (\d+)) of the product list$/, …)

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