When I go to the next page of the product list

Go to the next page, the previous page or a numbered page of the product list.

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 1 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/prestashop-steps (github.com/webship/prestashop-steps), a step pack for Webship-js 2.0.x.