Then I should see an empty listing

Assert a Views listing reported no results (the empty region core's views-view template renders in place of rows), or that it did return some. Every core administration listing (content, people, files, the log) is a View, so this is how an empty one is asserted without matching its site-specific "no results" wording. Core's templates use the class views-empty, several base themes view-empty; the "empty view" named selector overrides both.

Examples

Then I should see an empty listing
And we should see an empty view
Then should see an empty listing
And I should see a non-empty listing
Then we should see a non-empty view

Pattern

Then(/^(I |we )*should see (an empty|a non-?empty) (?:view|listing)$/, …)

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