diff --git a/tests/acceptance/LoginCept.php b/tests/acceptance/LoginCept.php index 07d1c45..c7c9ae3 100644 --- a/tests/acceptance/LoginCept.php +++ b/tests/acceptance/LoginCept.php @@ -17,6 +17,9 @@ $I->see('Password cannot be blank.'); $I->amGoingTo('try to login with wrong credentials'); $loginPage->login('admin', 'wrong'); +if (method_exists($I, 'wait')) { + $I->wait(3); // only for selenium +} $I->expectTo('see validations errors'); $I->see('Incorrect username or password.');