Assert that the form shows a field (by its label), or does not: a form shows and hides fields as its other fields change.
Examples
Then the form should show the field "Salary"
Then the form should not show the field "Hourly rate"
And the form should show the field "Hourly rate"
Then the form should not show the field "Salary"
And the form should show the field "Metadata"
Pattern
Then(/^the form should( not)* show the field "([^"]*)"$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.