Then the selection should read "2 of 10 selected"

Assert what the action bar says about the selection: "2 of 10 selected", or "All 24 selected" after selecting across all pages.

Examples

Then the selection should read "2 of 10 selected"
Then the selection should read "All 24 selected"
And the selection should read "0 of 10 selected"
Then the selection should read "10 of 10 selected"
And the selection should read "1 of 3 selected"

Pattern

Then(/^the selection should read "([^"]*)"$/, …)

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