PHP Class Sylius\Behat\Context\Ui\Admin\ManagingCustomersContext

Author: Anna Walasek ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
__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 )

Method Details

__construct() public méthode

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 méthode

public hisEmailShouldBe ( $email )

hisNameShouldBe() public méthode

public hisNameShouldBe ( $name )

hisRegistrationDateShouldBe() public méthode

public hisRegistrationDateShouldBe ( $registrationDate )

hisShippingAddressShouldBe() public méthode

public hisShippingAddressShouldBe ( $defaultAddress )

iAddIt() public méthode

public iAddIt ( )

iBrowseOrdersOfACustomer() public méthode

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

iChangeThePasswordOfUserTo() public méthode

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

iChooseCreateAccountOption() public méthode

iDisableIt() public méthode

public iDisableIt ( )

iDoNotChooseCreateAccountOption() public méthode

iDoNotSpecifyAnyInformation() public méthode

iEnableIt() public méthode

public iEnableIt ( )

iMakeThemSubscribedToTheNewsletter() public méthode

iRemoveItsEmail() public méthode

public iRemoveItsEmail ( )

iRemoveItsFirstName() public méthode

public iRemoveItsFirstName ( )

iRemoveItsLastName() public méthode

public iRemoveItsLastName ( )

iSaveMyChanges() public méthode

public iSaveMyChanges ( )

iSelectGender() public méthode

public iSelectGender ( $gender )

iSelectGroup() public méthode

public iSelectGroup ( $group )

iShouldBeAbleToSelectCreateAccountOption() public méthode

iShouldBeAbleToSpecifyItPassword() public méthode

iShouldBeNotifiedThatEmailIsNotValid() public méthode

iShouldBeNotifiedThatEmailMustBeUnique() public méthode

iShouldBeNotifiedThatFirstNameIsRequired() public méthode

iShouldBeNotifiedThatTheElementShouldBe() public méthode

public iShouldBeNotifiedThatTheElementShouldBe ( $elementName, $validationMessage )

iShouldBeNotifiedThatThePasswordMustBeAtLeastCharactersLong() public méthode

iShouldBeOnTheCustomerCreationPage() public méthode

iShouldNotBeAbleToSelectCreateAccountOption() public méthode

iShouldNotBeAbleToSpecifyItPassword() public méthode

iShouldNotSeeASingleOrderFromCustomer() public méthode

public iShouldNotSeeASingleOrderFromCustomer ( $orderNumber )

iShouldNotSeeCreateAccountOption() public méthode

iShouldSeeASingleOrderFromCustomer() public méthode

public iShouldSeeASingleOrderFromCustomer ( $orderNumber )

iShouldSeeASingleOrderInTheList() public méthode

iShouldSeeCustomersInTheList() public méthode

public iShouldSeeCustomersInTheList ( $amountOfCustomers )

iShouldSeeInformationAboutEmailVerification() public méthode

iShouldSeeInformationAboutNoExistingAccountForThisCustomer() public méthode

iShouldSeeThatThisCustomerHasVerifiedTheEmail() public méthode

iShouldSeeThatThisCustomerIsSubscribedToTheNewsletter() public méthode

iShouldSeeTheCustomerInTheList() public méthode

public iShouldSeeTheCustomerInTheList ( $email )

iSpecifyItsBirthdayAs() public méthode

public iSpecifyItsBirthdayAs ( $birthday )

iSpecifyItsEmailAs() public méthode

public iSpecifyItsEmailAs ( $email = null )

iSpecifyItsFirstNameAs() public méthode

public iSpecifyItsFirstNameAs ( $name )

iSpecifyItsLastNameAs() public méthode

public iSpecifyItsLastNameAs ( $name )

iSpecifyItsPasswordAs() public méthode

public iSpecifyItsPasswordAs ( $password )

iSpecifyMyPasswordAs() public méthode

public iSpecifyMyPasswordAs ( $password )

iViewDetailsOfTheCustomer() public méthode

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

iWantToChangeMyPassword() public méthode

iWantToChangeStatusOf() public méthode

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

iWantToCreateANewCustomer() public méthode

iWantToEditThisCustomer() public méthode

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

iWantToSeeAllCustomersInStore() public méthode

theCustomerShould() public méthode

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

theCustomerShouldNotAppearInTheStore() public méthode

theCustomerShouldStillHaveAnEmptyFirstName() public méthode

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

theCustomerShouldStillHaveAnEmptyLastName() public méthode

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

theCustomerWithNameShouldAppearInTheRegistry() public méthode

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

theProvinceInTheDefaultAddressShouldBe() public méthode

public theProvinceInTheDefaultAddressShouldBe ( $provinceName )

thereShouldStillBeOnlyOneCustomerWithEmail() public méthode

theyShouldHaveAnAccountCreated() public méthode

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

thisCustomerShouldBeDisabled() public méthode

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

thisCustomerShouldBeEnabled() public méthode

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

thisCustomerShouldBeSubscribedToTheNewsletter() public méthode

thisCustomerShouldHaveAsTheirGroup() public méthode

public thisCustomerShouldHaveAsTheirGroup ( $groupName )