PHP Class Sylius\Behat\Context\Ui\Shop\RegistrationContext

Author: Arkadiusz Krakowiak ([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\Shop\Account\DashboardPageInterface $dashboardPage, Sylius\Behat\Page\Shop\HomePageInterface $homePage, Sylius\Behat\Page\Shop\Account\LoginPageInterface $loginPage, Sylius\Behat\Page\Shop\Account\RegisterPageInterface $registerPage, Sylius\Behat\Page\Shop\Account\VerificationPageInterface $verificationPage, Sylius\Behat\Page\Shop\Account\ProfileUpdatePageInterface $profileUpdatePage, Sylius\Behat\Service\SecurityServiceInterface $securityService, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
iConfirmThisPassword ( $password )
iDoNotConfirmPassword ( )
iLogInAsWithPassword ( $email, $password )
iRegisterThisAccount ( )
iRegisterWithEmailAndPassword ( $email, $password )
iResendVerificationEmail ( )
iShouldBeAbleToLogInAsWithPassword ( $email, $password )
iShouldBeLoggedIn ( )
iShouldBeNotifiedThatElementIsRequired ( $element )
iShouldBeNotifiedThatNewAccountHasBeenSuccessfullyCreated ( )
iShouldBeNotifiedThatTheEmailIsAlreadyUsed ( )
iShouldBeNotifiedThatThePasswordDoNotMatch ( )
iShouldBeNotifiedThatTheVerificationEmailHasBeenSent ( )
iShouldBeNotifiedThatTheVerificationTokenIsInvalid ( )
iShouldBeNotifiedThatTheVerificationWasSuccessful ( )
iShouldBeSubscribedToTheNewsletter ( )
iShouldBeUnableToResendVerificationEmail ( )
iShouldNotBeAbleToLogInAsWithPassword ( $email, $password )
iShouldNotBeLoggedIn ( )
iSpecifyTheEmail ( $email = null )
iSpecifyTheFirstName ( $firstName = null )
iSpecifyTheLastName ( $lastName = null )
iSpecifyThePasswordAs ( $password = null )
iSpecifyThePhoneNumberAs ( $phoneNumber )
iSubscribeToTheNewsletter ( )
iTryToVerifyUsing ( $token )
iUseItToVerify ( Sylius\Component\Core\Model\ShopUserInterface $user )
iUseVerificationLinkFromFirstEmailToVerify ( )
iVerifyMyAccount ( Sylius\Component\Core\Model\CustomerInterface $customer )
iWantToRegisterANewAccount ( )
myAccountShouldBeVerified ( Sylius\Component\Core\Model\ShopUserInterface $user )
myAccountShouldNotBeVerified ( )
myEmailShouldBe ( $email )

Private Methods

Méthode Description
assertFieldValidationMessage ( string $element, string $expectedMessage )

Method Details

__construct() public méthode

public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\Shop\Account\DashboardPageInterface $dashboardPage, Sylius\Behat\Page\Shop\HomePageInterface $homePage, Sylius\Behat\Page\Shop\Account\LoginPageInterface $loginPage, Sylius\Behat\Page\Shop\Account\RegisterPageInterface $registerPage, Sylius\Behat\Page\Shop\Account\VerificationPageInterface $verificationPage, Sylius\Behat\Page\Shop\Account\ProfileUpdatePageInterface $profileUpdatePage, Sylius\Behat\Service\SecurityServiceInterface $securityService, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
$sharedStorage Sylius\Behat\Service\SharedStorageInterface
$dashboardPage Sylius\Behat\Page\Shop\Account\DashboardPageInterface
$homePage Sylius\Behat\Page\Shop\HomePageInterface
$loginPage Sylius\Behat\Page\Shop\Account\LoginPageInterface
$registerPage Sylius\Behat\Page\Shop\Account\RegisterPageInterface
$verificationPage Sylius\Behat\Page\Shop\Account\VerificationPageInterface
$profileUpdatePage Sylius\Behat\Page\Shop\Account\ProfileUpdatePageInterface
$securityService Sylius\Behat\Service\SecurityServiceInterface
$currentPageResolver Sylius\Behat\Service\Resolver\CurrentPageResolverInterface
$notificationChecker Sylius\Behat\Service\NotificationCheckerInterface

iConfirmThisPassword() public méthode

public iConfirmThisPassword ( $password )

iDoNotConfirmPassword() public méthode

iLogInAsWithPassword() public méthode

public iLogInAsWithPassword ( $email, $password )

iRegisterThisAccount() public méthode

iRegisterWithEmailAndPassword() public méthode

public iRegisterWithEmailAndPassword ( $email, $password )

iResendVerificationEmail() public méthode

iShouldBeAbleToLogInAsWithPassword() public méthode

public iShouldBeAbleToLogInAsWithPassword ( $email, $password )

iShouldBeLoggedIn() public méthode

public iShouldBeLoggedIn ( )

iShouldBeNotifiedThatElementIsRequired() public méthode

iShouldBeNotifiedThatNewAccountHasBeenSuccessfullyCreated() public méthode

iShouldBeNotifiedThatTheEmailIsAlreadyUsed() public méthode

iShouldBeNotifiedThatThePasswordDoNotMatch() public méthode

iShouldBeNotifiedThatTheVerificationEmailHasBeenSent() public méthode

iShouldBeNotifiedThatTheVerificationTokenIsInvalid() public méthode

iShouldBeNotifiedThatTheVerificationWasSuccessful() public méthode

iShouldBeSubscribedToTheNewsletter() public méthode

iShouldBeUnableToResendVerificationEmail() public méthode

iShouldNotBeAbleToLogInAsWithPassword() public méthode

public iShouldNotBeAbleToLogInAsWithPassword ( $email, $password )

iShouldNotBeLoggedIn() public méthode

iSpecifyTheEmail() public méthode

public iSpecifyTheEmail ( $email = null )

iSpecifyTheFirstName() public méthode

public iSpecifyTheFirstName ( $firstName = null )

iSpecifyTheLastName() public méthode

public iSpecifyTheLastName ( $lastName = null )

iSpecifyThePasswordAs() public méthode

public iSpecifyThePasswordAs ( $password = null )

iSpecifyThePhoneNumberAs() public méthode

public iSpecifyThePhoneNumberAs ( $phoneNumber )

iSubscribeToTheNewsletter() public méthode

iTryToVerifyUsing() public méthode

public iTryToVerifyUsing ( $token )

iUseItToVerify() public méthode

public iUseItToVerify ( Sylius\Component\Core\Model\ShopUserInterface $user )
$user Sylius\Component\Core\Model\ShopUserInterface

iUseVerificationLinkFromFirstEmailToVerify() public méthode

iVerifyMyAccount() public méthode

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

iWantToRegisterANewAccount() public méthode

myAccountShouldBeVerified() public méthode

public myAccountShouldBeVerified ( Sylius\Component\Core\Model\ShopUserInterface $user )
$user Sylius\Component\Core\Model\ShopUserInterface

myAccountShouldNotBeVerified() public méthode

myEmailShouldBe() public méthode

public myEmailShouldBe ( $email )