When I go to the next page of the pager

Follow a link of the pager: the next, previous, first or last page, or a page by its number.

Examples

When I go to the next page of the pager
When I go to the previous page of the pager
When we go to the last page of the pager
And I go to the first page of the pager
When I go to page 2 of the pager

Pattern

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

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