Then the "Tags" field should have the tags "lorem"

Assert the tags of a tags field: the chips it shows, in any order, and the value the form sends with them.

Examples

Then the "Tags" field should have the tags "lorem"
Then the "Tags" field should have the tags "lorem, ipsum"
And the "Tags" field should have the tags ""
Then the "Tags" field should have the tags "dolore, labore, pariatur"
And the "Tags" field should have the tags "ipsum"

Pattern

Then(/^the "([^"]*)" field should have the tags "([^"]*)"$/, …)

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