When I apply the token "webship.test.red" to the selection as "Fill"

Apply a token to the selected layer through its menu (a right click on its pill): "Fill", "Stroke", or another property the menu offers for its type.

Examples

When I apply the token "webship.test.red" to the selection as "Fill"
When I apply the token "webship.test.red" to the selection as "Stroke"
And I apply the token "webship.test.blue" to the selection as "Fill"
When we apply the token "webship.test.round" to the selection as "All"
When I apply the token "webship.test.red" to the selection as "Fill"

Pattern

When(/^(?:I|we) apply the token "([^"]*)" to the selection as "([^"]*)"$/, …)

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