Codem\DamnFineUploader\_generated\AcceptanceTesterActions::dontSeeInFormFields
[!] Method is generated. Documentation taken from corresponding module.
Checks if the array of form parameters (name => value) are not set on the form matched with the passed selector. ``` php <?php $I->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 <?php $I->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 <?php $I->dontSeeInFormFields('#form-id', [ 'checkbox1' => true, // fails if checked 'checkbox2' => false, // fails if unchecked ]); ?> ```
Signature
public function dontSeeInFormFields(
$formSelector,
$params )
Parameters
$formSelector
—$params
—