mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
One more try to fix tests - confirmation won’t validate until password validates
This commit is contained in:
parent
a4420efb7d
commit
c3c4ad1ae6
|
@ -39,11 +39,10 @@ class UsersCest
|
||||||
$I->fillField('first_name', 't2');
|
$I->fillField('first_name', 't2');
|
||||||
$I->fillField('last_name', 't2');
|
$I->fillField('last_name', 't2');
|
||||||
$I->fillField('username', 'a');
|
$I->fillField('username', 'a');
|
||||||
$I->fillField('password', '12345'); // Must be 6 chars
|
$I->fillField('password', '12345');
|
||||||
$I->click('Save');
|
$I->click('Save');
|
||||||
$I->seeElement('.alert-danger');
|
$I->seeElement('.alert-danger');
|
||||||
$I->see('The password must be at least 10 characters', '.alert-msg');
|
$I->see('The password must be at least 10 characters', '.alert-msg');
|
||||||
$I->see('The password confirmation does not match.', '.alert-msg');
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function passesCorrectValidation(FunctionalTester $I)
|
public function passesCorrectValidation(FunctionalTester $I)
|
||||||
|
|
Loading…
Reference in a new issue