function loginSuccess(AcceptanceTester $I, \Page\Login $loginPage)
 {
     $loginPage->login('*****@*****.**', '123456');
     $I->amOnPage('/customer/account/index/');
     $I->see('Hello, alex sereda!', 'p.hello > strong');
     $loginPage->logout();
 }
Ejemplo n.º 2
0
 function loginSuccess(Step\Acceptance\Steps $I, \Page\Login $loginPage)
 {
     $loginPage->login();
     $loginPage->loginInvalid('*****@*****.**', '123456');
     $I->see('From your My Account Dashboard you have the ability to view', 'div.welcome-msg');
     $loginPage->logout();
 }