Then the content trash should hold "Old page"

Assert the trash holds, or does not hold, a deleted item by its title. The step opens the listing itself, so it can follow a delete directly.

Examples

Then the content trash should hold "Old page"
And the Canvas pages trash should hold "Landing"
Then the content trash should not hold "Old page"
And the Canvas pages trash should not hold "Landing"
Then the Canvas page trash should hold "Pricing"

Pattern

Then(/^the (content|Canvas pages?) trash should( not)* hold "([^"]*)"$/, …)

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