Assert how many pages the list has.
Examples
Then the list should have 3 pages
Then the list should have 1 page
And the list should have 2 pages
Then the list should have 3 pages
And the list should have 1 page
Pattern
Then(/^the list should have (\d+) pages?$/, …)
Part of @webship-js/django-steps (github.com/webship/django-steps), a step pack for Webship-js 2.0.x.