Make sure no work package of the subject is in the project: one there is removed with the time logged on it, as the managing account.
Examples
Given there is no work package "Webship test new" in the project "webship-site"
Given there is no work package "Webship test new" in the project "Webship site"
And there is no work package "Webship test task"
Given there is no work package "Webship test created"
Then there is no work package "Webship test new" in the project "webship-site"
Pattern
Given(/^there is no work package "([^"]*)"(?: in the project "([^"]*)")?$/, …)
Part of @webship-js/openproject-steps (github.com/webship/openproject-steps), a step pack for Webship-js 2.0.x.