Assert the field with the given label has (or does not have) a value. The field can be on a tab that is not open: the value is read from the form. A select is compared by the text of its selected option or by its value; a switcher by the label of its checked option.
Examples
Then the field labelled "Title" should have the value "Typography"
Then the field labelled "Alias" should have the value "typography"
Then the field labelled "Site Name" should not have the value "Other"
And the field labelled "jform_title" should have the value "Typography"
Then the field labelled "Site Offline" should have the value "No"
Pattern
Then(/^the field labelled "([^"]*)?" should( not)* have the value "([^"]*)?"$/, …)
Part of @webship-js/joomla-steps (github.com/webship/joomla-steps), a step pack for Webship-js 2.0.x.