mirror of
https://github.com/humhub/humhub.git
synced 2025-03-04 07:08:58 +01:00
Fixed: functional & acceptance tests on login page
This commit is contained in:
parent
5a8655e3e2
commit
d6c1246738
@ -17,8 +17,8 @@ if (method_exists($I, 'wait')) {
|
||||
$I->wait(3); // only for selenium
|
||||
}
|
||||
$I->expectTo('see validations errors');
|
||||
$I->see('Username cannot be blank.');
|
||||
$I->see('Password cannot be blank.');
|
||||
$I->see('username or email cannot be blank.');
|
||||
$I->see('password cannot be blank.');
|
||||
|
||||
$I->amGoingTo('try to login with wrong credentials');
|
||||
$loginPage->login('admin', 'wrong');
|
||||
|
@ -12,8 +12,8 @@ $loginPage = LoginPage::openBy($I);
|
||||
$I->amGoingTo('try to login with empty credentials');
|
||||
$loginPage->login('', '');
|
||||
$I->expectTo('see validations errors');
|
||||
$I->see('Username cannot be blank.');
|
||||
$I->see('Password cannot be blank.');
|
||||
$I->see('username or email cannot be blank.');
|
||||
$I->see('password cannot be blank.');
|
||||
|
||||
$I->amGoingTo('try to login with wrong credentials');
|
||||
$loginPage->login('admin', 'wrong');
|
||||
|
Loading…
x
Reference in New Issue
Block a user