Then the scheduled content should list "Spring campaign"

Assert the "Scheduled content" listing (/admin/content/scheduled) lists, or does not list, a content item by its title. The step opens the listing itself. Needs a user who may view scheduled content.

Examples

Then the scheduled content should list "Spring campaign"
And the scheduled content should list "Opening hours"
Then the scheduled content should not list "Spring campaign"
And the scheduled content should not list "Old news"
Then the scheduled content should list "Privacy policy"

Pattern

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

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