function MyAccountGiftCard(Step\Acceptance\LoginSteps $I, \Page\MyAccount $MyAccountPage) { $I->stepsLoginIn(); $MyAccountPage->accountGiftCard(); $I->giftCardEmpty(); $I->getVisibleText('The maximum number of times to enter gift card code is 5!', '.error-msg'); $I->logOut(); }
function homeHeaderCart(Step\Acceptance\LoginSteps $I, \Page\Home $homePage) { $homePage->homeHeaderCart(); $I->getVisibleText('You have no items in your shopping cart.'); }