Then the card should have the label "bug"

The open card has a label, or has not.

Examples

Then the card should have the label "bug"
Then the card should not have the label "bug"
And the card should have the label "bug"
But the card should not have the label "bug"
Given the card should have the label "bug"

Pattern

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

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