Then "Name" should be set to "Webship test lamp"

Assert what a field of the form holds, as a person reads it: the text, the chosen option (or options, separated by commas), "on" or "off" for a switch, "checked" or "unchecked" for a checkbox, the checked options of a list, the text of a rich editor, the tags.

Examples

Then "Name" should be set to "Webship test lamp"
Then "Visibility" should be set to "off"
And "Brand" should be set to "Webship Brand Alpha"
Then "Labels" should be set to "Bug, Feature"
And "Due date" should be set to "2026-12-01"

Pattern

Then(/^"([^"]*)" should be set to "([^"]*)"$/, …)

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