When I go to the next page of records

Go to the next or the previous page of records (on a form view: the next or the previous record) with the arrows of the pager.

Examples

When I go to the next page of records
When we go to the previous page of records
And I go to the next record
When I go to the previous record
And go to the next page of records

Pattern

When(/^(I |we )*go to the (next|previous) (?:page of records|record)$/, …)

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