Then 2 items should be selected in the index

Assert how many items of the index are selected.

Examples

Then 2 items should be selected in the index
Then 1 item should be selected in the index
Then 100 items should be selected in the index
And 0 items should be selected in the index
Then 3 items should be selected in the index

Pattern

Then(/^(\d+) items? should be selected in the index$/, …)

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