Assert the list of posts or pages shows an entry, by its title, in any state except the trash.
Examples
Then the posts list should include "Hello world!"
And the pages list should include "Sample Page"
Then the posts list should not include "Some old title"
And the pages list should not include "No such page"
Then the posts list should include "My draft"
Pattern
Then(/^the (post|page)s list should( not)* include "([^"]*)"$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.