Check through the REST API (as the data administrator) that a collection has, or has not, a document with a title (drafts included).
Examples
Then there should be a document "Editor test post" in "Posts"
Then there should be no document "Bulk test post one" in "Posts"
And there should be a document "test-lighthouse.png" in "Media"
Then there should be no document "test-lighthouse.png" in "Media"
Then there should be a document "News" in "Categories"
Pattern
Then(/^there should be (a|no) document "([^"]*)" in "([^"]*)"$/, …)
Part of @webship-js/payload-steps (github.com/webship/payload-steps), a step pack for Webship-js 2.0.x.