Ejemplo n.º 1
0
 function MyAccountInfo(\Step\Acceptance\LoginSteps $I, \Page\MyAccount $myAccountPage)
 {
     $I->login();
     $myAccountPage->accountInfo('', '', '', '', '', '');
     $I->see('This is a required field.', '#advice-required-entry-email');
     $myAccountPage->accountInfoAdd('alex', 'sereda', '*****@*****.**', '123456', '123456', '123456');
     $I->see('The account information has been saved.', 'li.success-msg');
 }
 function MyAccountInfo(\Step\Acceptance\LoginSteps $I, \Page\MyAccount $myAccountPage)
 {
     $I->stepsLoginIn();
     $I->see('Hello, alex sereda!', 'p.hello > strong');
     $myAccountPage->accountInfo('alex', 'sereda', '*****@*****.**', '123456', '123456', '123456');
     $I->see('The account information has been saved.', 'li.success-msg');
     $myAccountPage->accountInfo('', '', '', '', '', '');
     $I->see('This is a required field.', '#advice-required-entry-email');
     $I->comment('Expected result: These are required fields');
 }