Then the task should have the label "bug"

The open task has this label, as the site has it now.

Examples

Then the task should have the label "bug"
Then the task should have the label "bug"
And the task should have the label "bug"
But the task should have the label "bug"
Given the task should have the label "bug"

Pattern

Then(/^the task should have the label "([^"]*)"$/, …)

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