Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Resource\Repository\RepositoryInterface $addressRepository, Sylius\Behat\Page\Shop\Account\AddressBook\IndexPageInterface $addressBookIndexPage, Sylius\Behat\Page\Shop\Account\AddressBook\CreatePageInterface $addressBookCreatePage, Sylius\Behat\Page\Shop\Account\AddressBook\UpdatePageInterface $addressBookUpdatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
addressShouldBeMarkedAsMyDefaultAddress ( Sylius\Component\Core\Model\AddressInterface $address ) | ||
iAddIt ( ) | ||
iBrowseMyAddresses ( ) | ||
iChangeMyTo ( $field, $value ) | ||
iChooseAsMyCountry ( $countryName ) | ||
iChooseAsMyProvince ( $provinceName ) | ||
iDeleteTheAddress ( $fullname ) | ||
iEditAddressOf ( $fullName ) | ||
iLeaveEveryFieldEmpty ( ) | ||
iSaveChangedAddress ( ) | ||
iSetTheAddressOfAsDefault ( $fullName ) | ||
iShouldBeNotifiedAboutErrors ( $expectedCount ) | ||
iShouldBeNotifiedAboutSuccessfulDelete ( ) | ||
iShouldBeNotifiedAboutSuccessfulUpdate ( ) | ||
iShouldBeNotifiedThatAddressHasBeenSetAsDefault ( ) | ||
iShouldBeNotifiedThatAddressHasBeenSuccessfullyAdded ( ) | ||
iShouldBeNotifiedThatTheProvinceNeedsToBeSpecified ( ) | ||
iShouldBeUnableToEditTheirAddress ( ) | ||
iShouldHaveAddresses ( $count = 1 ) | ||
iShouldHaveNoDefaultAddress ( ) | ||
iShouldNotSeeAddressOf ( $fullName ) | ||
iShouldStillBeOnAddressAdditionPage ( ) | ||
iSpecifyAsMyProvince ( $provinceName ) | ||
iSpecifyTheAddressAs ( Sylius\Component\Core\Model\AddressInterface $address ) | ||
iTryToEditTheAddressOf ( $fullName ) | ||
iWantToAddANewAddressToMyAddressBook ( ) | ||
itShouldContain ( $value ) | ||
thereShouldBeNoAddresses ( ) | ||
thisAddressShouldHavePersonFirstNameAndLastName ( $fullName ) |
Method | Description | |
---|---|---|
assertAddressesCountOnPage ( integer $expectedCount ) | ||
getAddressOf ( string $fullName ) : Sylius\Component\Core\Model\AddressInterface | ||
getCurrentPage ( ) : Sylius\Behat\Page\SymfonyPageInterface |
public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\Resource\Repository\RepositoryInterface $addressRepository, Sylius\Behat\Page\Shop\Account\AddressBook\IndexPageInterface $addressBookIndexPage, Sylius\Behat\Page\Shop\Account\AddressBook\CreatePageInterface $addressBookCreatePage, Sylius\Behat\Page\Shop\Account\AddressBook\UpdatePageInterface $addressBookUpdatePage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
$sharedStorage | Sylius\Behat\Service\SharedStorageInterface | |
$addressRepository | Sylius\Component\Resource\Repository\RepositoryInterface | |
$addressBookIndexPage | Sylius\Behat\Page\Shop\Account\AddressBook\IndexPageInterface | |
$addressBookCreatePage | Sylius\Behat\Page\Shop\Account\AddressBook\CreatePageInterface | |
$addressBookUpdatePage | Sylius\Behat\Page\Shop\Account\AddressBook\UpdatePageInterface | |
$currentPageResolver | Sylius\Behat\Service\Resolver\CurrentPageResolverInterface | |
$notificationChecker | Sylius\Behat\Service\NotificationCheckerInterface |
public addressShouldBeMarkedAsMyDefaultAddress ( Sylius\Component\Core\Model\AddressInterface $address ) | ||
$address | Sylius\Component\Core\Model\AddressInterface |
public iShouldBeNotifiedAboutSuccessfulDelete ( ) |
public iShouldBeNotifiedAboutSuccessfulUpdate ( ) |
public iSpecifyTheAddressAs ( Sylius\Component\Core\Model\AddressInterface $address ) | ||
$address | Sylius\Component\Core\Model\AddressInterface |
public iWantToAddANewAddressToMyAddressBook ( ) |
public thisAddressShouldHavePersonFirstNameAndLastName ( $fullName ) |