mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on tests
This commit is contained in:
parent
5c5dd7a27e
commit
40a8774375
@ -29,10 +29,13 @@ class AcceptanceTester extends \Codeception\Actor
|
||||
//if ($I->loadSessionSnapshot('login')) return;
|
||||
|
||||
$I->amOnPage('/login?lang=en');
|
||||
$I->see('Login');
|
||||
$I->fillField(['name' => 'email'], Fixtures::get('username'));
|
||||
$I->fillField(['name' => 'password'], Fixtures::get('password'));
|
||||
$I->click('Login');
|
||||
|
||||
if ($I->findElementPresent('Login')) {
|
||||
$I->see('Login');
|
||||
$I->fillField(['name' => 'email'], Fixtures::get('username'));
|
||||
$I->fillField(['name' => 'password'], Fixtures::get('password'));
|
||||
$I->click('Login');
|
||||
}
|
||||
|
||||
//$I->saveSessionSnapshot('login');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user