Checks if the array of form parameters (name => value) are not set on the form matched with
the passed selector.
php
dontSeeInFormFields('form[name=myform]', [
'input1' => 'non-existent value',
'input2' => 'other non-existent value',
]);
?>
To check that an element hasn't been assigned any one of many values, an array can be passed
as the value:
php
dontSeeInFormFields('.form-class', [
'fieldName' => [
'This value shouldn\'t be set',
'And this value shouldn\'t be set',
],
]);
?>
Additionally, checkbox values can be checked with a boolean.
php
dontSeeInFormFields('#form-id', [
'checkbox1' => true, // fails if checked
'checkbox2' => false, // fails if unchecked
]);
?>