When I go to the next page of posts

Go to the next or the previous page of the list of posts (its pagination).

Examples

When I go to the next page of posts
When I go to the previous page of posts
And I go to the next page of posts
And I go to the previous page of posts
When I go to the next page of posts

Pattern

When(/^I go to the (next|previous) page of posts$/, …)

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