When I create a work package "Webship test new" in the project "webship-site"

Create a work package through the form of a project (its default type), and wait until it is saved. It goes again after the scenario.

Examples

When I create a work package "Webship test new" in the project "webship-site"
When I create a work package "Webship test new" in the project "Webship site"
And we create a work package "Webship test created"
When I create a work package "Webship test new"
Then I create a work package "Webship test created" in the project "webship-site"

Pattern

When(/^(I |we )*create a 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.