Working on tests

This commit is contained in:
Hillel Coren 2018-03-07 20:50:18 +02:00
parent 40a8774375
commit 8e2e2b1854

View File

@ -30,7 +30,7 @@ class AcceptanceTester extends \Codeception\Actor
$I->amOnPage('/login?lang=en'); $I->amOnPage('/login?lang=en');
if ($I->findElementPresent('Login')) { if ($I->seePageHasElement('Login')) {
$I->see('Login'); $I->see('Login');
$I->fillField(['name' => 'email'], Fixtures::get('username')); $I->fillField(['name' => 'email'], Fixtures::get('username'));
$I->fillField(['name' => 'password'], Fixtures::get('password')); $I->fillField(['name' => 'password'], Fixtures::get('password'));