Assert the number of items rendered inside a named CMS collection list. The name matches a CSS class on the section wrapping the collection list (e.g. .features .w-dyn-item for a section with class "features"). The count is polled for the wait budget, so a list that is still rendering is waited for.
Examples
Then I should see 3 items in the "features" collection list
Then I should see 2 items in the "team" collection list
And we should see 2 items in the "pricing" collection list
Then I should see 1 item in the "features" collection list
And should see 3 items in the "team" collection list
Pattern
Then(/^(I |we )*should see (\d+) items? in the "([^"]*)" collection list$/, …)
Part of @webship-js/webflow-steps (github.com/webship/webflow-steps), a step pack for Webship-js 2.0.x.