When I close the task

Close the open task, through its sidebar's "Close this task" and Yes; or open it again, through "Open this task".

Examples

When I close the task
When we open the task again
And I close the task
And we open the task again
Then I close the task

Pattern

When(/^(I |we )*(close the task|open the task again)$/, …)

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