Move the open work package to a status, through its status menu (the statuses the workflow of the account's role allows).
Examples
When I set the status of the work package to "In progress"
When I set the status of the work package to "Closed"
And we set the status of the work package to "On hold"
When I set the status of the work package to "Rejected"
Then I set the status of the work package to "New"
Pattern
When(/^(I |we )*set the status of the work package to "([^"]*)"$/, …)
Part of @webship-js/openproject-steps (github.com/webship/openproject-steps), a step pack for Webship-js 2.0.x.