When I mark the task done

Mark the open task done ("Mark task done!"), or not done again ("Mark as undone").

Examples

When I mark the task done
When we mark the task undone
And I mark the task done
And we mark the task undone
When we mark the task done

Pattern

When(/^(I |we )*mark the task (done|undone)$/, …)

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