Then the dashboard should list "Posts"

The dashboard has (or has not) a card for a collection or a global, by its name.

Examples

Then the dashboard should list "Posts"
Then the dashboard should not list "Redirects"
And the dashboard should list "Header"
Then the dashboard should list "Redirects"
Then the dashboard should list "Form Submissions"

Pattern

Then(/^the dashboard should (not )?list "([^"]*)"$/, …)

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