Then the state of the work item should be "In Progress"

Assert the state the work item on screen shows.

Examples

Then the state of the work item should be "In Progress"
Then the state of the work item should be "Done"
And the state of the work item should be "Todo"
But the state of the work item should be "Backlog"
Then the state of the work item should be "Cancelled"

Pattern

Then(/^the state of the work item should be "([^"]*)"$/, …)

Part of @webship-js/plane-steps (github.com/webship/plane-steps), a step pack for Webship-js 2.0.x.