Assert the counts of the site summary on the dashboard ("34 Pages", "39 Images", "2 Documents").
Examples
Then the site summary should count 34 pages
Then the site summary should count 39 images
And the site summary should count 2 documents
Then the site summary should count 1 page
Then the site summary should count 1 document
Pattern
Then(/^the site summary should count (\d+) (pages?|images?|documents?)$/, …)
Part of @webship-js/wagtail-steps (github.com/webship/wagtail-steps), a step pack for Webship-js 2.0.x.