PHP Класс Sylius\Behat\Context\Ui\Admin\ManagingCustomersContext

Автор: Anna Walasek ([email protected])
Наследование: implements Behat\Behat\Context\Context
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Admin\Customer\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Customer\UpdatePageInterface $updatePage, Sylius\Behat\Page\Admin\Customer\ShowPageInterface $showPage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $ordersIndexPage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver )
hisEmailShouldBe ( $email )
hisNameShouldBe ( $name )
hisRegistrationDateShouldBe ( $registrationDate )
hisShippingAddressShouldBe ( $defaultAddress )
iAddIt ( )
iBrowseOrdersOfACustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
iChangeThePasswordOfUserTo ( Sylius\Component\Core\Model\CustomerInterface $customer, $newPassword )
iChooseCreateAccountOption ( )
iDisableIt ( )
iDoNotChooseCreateAccountOption ( )
iDoNotSpecifyAnyInformation ( )
iEnableIt ( )
iMakeThemSubscribedToTheNewsletter ( )
iRemoveItsEmail ( )
iRemoveItsFirstName ( )
iRemoveItsLastName ( )
iSaveMyChanges ( )
iSelectGender ( $gender )
iSelectGroup ( $group )
iShouldBeAbleToSelectCreateAccountOption ( )
iShouldBeAbleToSpecifyItPassword ( )
iShouldBeNotifiedThatEmailIsNotValid ( )
iShouldBeNotifiedThatEmailMustBeUnique ( )
iShouldBeNotifiedThatFirstNameIsRequired ( $elementName )
iShouldBeNotifiedThatTheElementShouldBe ( $elementName, $validationMessage )
iShouldBeNotifiedThatThePasswordMustBeAtLeastCharactersLong ( $amountOfCharacters )
iShouldBeOnTheCustomerCreationPage ( )
iShouldNotBeAbleToSelectCreateAccountOption ( )
iShouldNotBeAbleToSpecifyItPassword ( )
iShouldNotSeeASingleOrderFromCustomer ( $orderNumber )
iShouldNotSeeCreateAccountOption ( )
iShouldSeeASingleOrderFromCustomer ( $orderNumber )
iShouldSeeASingleOrderInTheList ( )
iShouldSeeCustomersInTheList ( $amountOfCustomers )
iShouldSeeInformationAboutEmailVerification ( )
iShouldSeeInformationAboutNoExistingAccountForThisCustomer ( )
iShouldSeeThatThisCustomerHasVerifiedTheEmail ( )
iShouldSeeThatThisCustomerIsSubscribedToTheNewsletter ( )
iShouldSeeTheCustomerInTheList ( $email )
iSpecifyItsBirthdayAs ( $birthday )
iSpecifyItsEmailAs ( $email = null )
iSpecifyItsFirstNameAs ( $name )
iSpecifyItsLastNameAs ( $name )
iSpecifyItsPasswordAs ( $password )
iSpecifyMyPasswordAs ( $password )
iViewDetailsOfTheCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
iWantToChangeMyPassword ( )
iWantToChangeStatusOf ( Sylius\Component\Core\Model\CustomerInterface $customer )
iWantToCreateANewCustomer ( )
iWantToEditThisCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
iWantToSeeAllCustomersInStore ( )
theCustomerShould ( Sylius\Component\Core\Model\CustomerInterface $customer )
theCustomerShouldNotAppearInTheStore ( $email )
theCustomerShouldStillHaveAnEmptyFirstName ( Sylius\Component\Core\Model\CustomerInterface $customer )
theCustomerShouldStillHaveAnEmptyLastName ( Sylius\Component\Core\Model\CustomerInterface $customer )
theCustomerWithNameShouldAppearInTheRegistry ( Sylius\Component\Core\Model\CustomerInterface $customer, $name )
theProvinceInTheDefaultAddressShouldBe ( $provinceName )
thereShouldStillBeOnlyOneCustomerWithEmail ( $email )
theyShouldHaveAnAccountCreated ( Sylius\Component\Core\Model\CustomerInterface $customer )
thisCustomerShouldBeDisabled ( Sylius\Component\Core\Model\CustomerInterface $customer )
thisCustomerShouldBeEnabled ( Sylius\Component\Core\Model\CustomerInterface $customer )
thisCustomerShouldBeSubscribedToTheNewsletter ( )
thisCustomerShouldHaveAsTheirGroup ( $groupName )

Описание методов

__construct() публичный Метод

public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Admin\Customer\CreatePageInterface $createPage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\Customer\UpdatePageInterface $updatePage, Sylius\Behat\Page\Admin\Customer\ShowPageInterface $showPage, Sylius\Behat\Page\Admin\Crud\IndexPageInterface $ordersIndexPage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver )
$sharedStorage Sylius\Behat\Service\SharedStorageInterface
$createPage Sylius\Behat\Page\Admin\Customer\CreatePageInterface
$indexPage Sylius\Behat\Page\Admin\Crud\IndexPageInterface
$updatePage Sylius\Behat\Page\Admin\Customer\UpdatePageInterface
$showPage Sylius\Behat\Page\Admin\Customer\ShowPageInterface
$ordersIndexPage Sylius\Behat\Page\Admin\Crud\IndexPageInterface
$currentPageResolver Sylius\Behat\Service\Resolver\CurrentPageResolverInterface

hisEmailShouldBe() публичный Метод

public hisEmailShouldBe ( $email )

hisNameShouldBe() публичный Метод

public hisNameShouldBe ( $name )

hisRegistrationDateShouldBe() публичный Метод

public hisRegistrationDateShouldBe ( $registrationDate )

hisShippingAddressShouldBe() публичный Метод

public hisShippingAddressShouldBe ( $defaultAddress )

iAddIt() публичный Метод

public iAddIt ( )

iBrowseOrdersOfACustomer() публичный Метод

public iBrowseOrdersOfACustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

iChangeThePasswordOfUserTo() публичный Метод

public iChangeThePasswordOfUserTo ( Sylius\Component\Core\Model\CustomerInterface $customer, $newPassword )
$customer Sylius\Component\Core\Model\CustomerInterface

iChooseCreateAccountOption() публичный Метод

iDisableIt() публичный Метод

public iDisableIt ( )

iDoNotChooseCreateAccountOption() публичный Метод

iDoNotSpecifyAnyInformation() публичный Метод

iEnableIt() публичный Метод

public iEnableIt ( )

iMakeThemSubscribedToTheNewsletter() публичный Метод

iRemoveItsEmail() публичный Метод

public iRemoveItsEmail ( )

iRemoveItsFirstName() публичный Метод

public iRemoveItsFirstName ( )

iRemoveItsLastName() публичный Метод

public iRemoveItsLastName ( )

iSaveMyChanges() публичный Метод

public iSaveMyChanges ( )

iSelectGender() публичный Метод

public iSelectGender ( $gender )

iSelectGroup() публичный Метод

public iSelectGroup ( $group )

iShouldBeAbleToSelectCreateAccountOption() публичный Метод

iShouldBeAbleToSpecifyItPassword() публичный Метод

iShouldBeNotifiedThatEmailIsNotValid() публичный Метод

iShouldBeNotifiedThatEmailMustBeUnique() публичный Метод

iShouldBeNotifiedThatFirstNameIsRequired() публичный Метод

iShouldBeNotifiedThatTheElementShouldBe() публичный Метод

public iShouldBeNotifiedThatTheElementShouldBe ( $elementName, $validationMessage )

iShouldBeNotifiedThatThePasswordMustBeAtLeastCharactersLong() публичный Метод

iShouldBeOnTheCustomerCreationPage() публичный Метод

iShouldNotBeAbleToSelectCreateAccountOption() публичный Метод

iShouldNotBeAbleToSpecifyItPassword() публичный Метод

iShouldNotSeeASingleOrderFromCustomer() публичный Метод

public iShouldNotSeeASingleOrderFromCustomer ( $orderNumber )

iShouldNotSeeCreateAccountOption() публичный Метод

iShouldSeeASingleOrderFromCustomer() публичный Метод

public iShouldSeeASingleOrderFromCustomer ( $orderNumber )

iShouldSeeASingleOrderInTheList() публичный Метод

iShouldSeeCustomersInTheList() публичный Метод

public iShouldSeeCustomersInTheList ( $amountOfCustomers )

iShouldSeeInformationAboutEmailVerification() публичный Метод

iShouldSeeInformationAboutNoExistingAccountForThisCustomer() публичный Метод

iShouldSeeThatThisCustomerHasVerifiedTheEmail() публичный Метод

iShouldSeeThatThisCustomerIsSubscribedToTheNewsletter() публичный Метод

iShouldSeeTheCustomerInTheList() публичный Метод

public iShouldSeeTheCustomerInTheList ( $email )

iSpecifyItsBirthdayAs() публичный Метод

public iSpecifyItsBirthdayAs ( $birthday )

iSpecifyItsEmailAs() публичный Метод

public iSpecifyItsEmailAs ( $email = null )

iSpecifyItsFirstNameAs() публичный Метод

public iSpecifyItsFirstNameAs ( $name )

iSpecifyItsLastNameAs() публичный Метод

public iSpecifyItsLastNameAs ( $name )

iSpecifyItsPasswordAs() публичный Метод

public iSpecifyItsPasswordAs ( $password )

iSpecifyMyPasswordAs() публичный Метод

public iSpecifyMyPasswordAs ( $password )

iViewDetailsOfTheCustomer() публичный Метод

public iViewDetailsOfTheCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

iWantToChangeMyPassword() публичный Метод

iWantToChangeStatusOf() публичный Метод

public iWantToChangeStatusOf ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

iWantToCreateANewCustomer() публичный Метод

iWantToEditThisCustomer() публичный Метод

public iWantToEditThisCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

iWantToSeeAllCustomersInStore() публичный Метод

theCustomerShould() публичный Метод

public theCustomerShould ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

theCustomerShouldNotAppearInTheStore() публичный Метод

theCustomerShouldStillHaveAnEmptyFirstName() публичный Метод

public theCustomerShouldStillHaveAnEmptyFirstName ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

theCustomerShouldStillHaveAnEmptyLastName() публичный Метод

public theCustomerShouldStillHaveAnEmptyLastName ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

theCustomerWithNameShouldAppearInTheRegistry() публичный Метод

public theCustomerWithNameShouldAppearInTheRegistry ( Sylius\Component\Core\Model\CustomerInterface $customer, $name )
$customer Sylius\Component\Core\Model\CustomerInterface

theProvinceInTheDefaultAddressShouldBe() публичный Метод

public theProvinceInTheDefaultAddressShouldBe ( $provinceName )

thereShouldStillBeOnlyOneCustomerWithEmail() публичный Метод

theyShouldHaveAnAccountCreated() публичный Метод

public theyShouldHaveAnAccountCreated ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

thisCustomerShouldBeDisabled() публичный Метод

public thisCustomerShouldBeDisabled ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

thisCustomerShouldBeEnabled() публичный Метод

public thisCustomerShouldBeEnabled ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

thisCustomerShouldBeSubscribedToTheNewsletter() публичный Метод

thisCustomerShouldHaveAsTheirGroup() публичный Метод

public thisCustomerShouldHaveAsTheirGroup ( $groupName )