Then the tokens should list "webship.test.red"

Assert that the Tokens tab lists a token by its name, or does not.

Examples

Then the tokens should list "webship.test.red"
Then the tokens should not list "webship.test.red"
And the tokens should list "webship.test.blue"
Then the tokens should list "webship.test.round"
But the tokens should not list "webship.test.blue"

Pattern

Then(/^the tokens should( not)? list "([^"]*)"$/, …)

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