When I try to create a "Color" token "webship.test.red" with the value "1"

Fill in the token form of a type without saving it: to see what the form refuses ("Invalid color value: 1").

Examples

When I try to create a "Color" token "webship.test.red" with the value "1"
When we try to create a "Color" token "webship.test.self" with the value "{webship.test.self}"
And I try to create a "Color" token "webship.test.missing" with the value "{webship.test.nothing}"
When I try to create a "Color" token "" with the value "#ff0000"
When I try to create a "Color" token "webship.test.red" with the value "1"

Pattern

When(/^(?:I|we) try to create a "([^"]*)" token "([^"]*)" with the value "([^"]*)"$/, …)

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