Assert that a sprint on the backlog page lists (or does not list) a work package, by its subject.
Examples
Then the sprint "Sprint 1" should list the work package "The greeting script says Helo instead of Hello"
Then the sprint "Sprint 1" should not list the work package "The usage page spells greeting as greting"
And the sprint "Sprint 1" should list the work package "Webship test task"
But the sprint "Sprint 2" should not list the work package "Webship test task"
Then the sprint "Sprint 1" should list the work package "The greeting script says Helo instead of Hello"
Pattern
Then(/^the sprint "([^"]*)" should (not )?list the work package "([^"]*)"$/, …)
Part of @webship-js/openproject-steps (github.com/webship/openproject-steps), a step pack for Webship-js 2.0.x.