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

Author: Arkadiusz Krakowiak ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Datei anzeigen Open project: sylius/sylius

Public Methods

Method 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

Method Description
assertFieldValidationMessage ( string $element, string $expectedMessage )

Method Details

__construct() public method

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 method

public iConfirmThisPassword ( $password )

iDoNotConfirmPassword() public method

iLogInAsWithPassword() public method

public iLogInAsWithPassword ( $email, $password )

iRegisterThisAccount() public method

iRegisterWithEmailAndPassword() public method

public iRegisterWithEmailAndPassword ( $email, $password )

iResendVerificationEmail() public method

iShouldBeAbleToLogInAsWithPassword() public method

public iShouldBeAbleToLogInAsWithPassword ( $email, $password )

iShouldBeLoggedIn() public method

public iShouldBeLoggedIn ( )

iShouldBeNotifiedThatElementIsRequired() public method

iShouldBeNotifiedThatNewAccountHasBeenSuccessfullyCreated() public method

iShouldBeNotifiedThatTheEmailIsAlreadyUsed() public method

iShouldBeNotifiedThatThePasswordDoNotMatch() public method

iShouldBeNotifiedThatTheVerificationEmailHasBeenSent() public method

iShouldBeNotifiedThatTheVerificationTokenIsInvalid() public method

iShouldBeNotifiedThatTheVerificationWasSuccessful() public method

iShouldBeSubscribedToTheNewsletter() public method

iShouldBeUnableToResendVerificationEmail() public method

iShouldNotBeAbleToLogInAsWithPassword() public method

public iShouldNotBeAbleToLogInAsWithPassword ( $email, $password )

iShouldNotBeLoggedIn() public method

iSpecifyTheEmail() public method

public iSpecifyTheEmail ( $email = null )

iSpecifyTheFirstName() public method

public iSpecifyTheFirstName ( $firstName = null )

iSpecifyTheLastName() public method

public iSpecifyTheLastName ( $lastName = null )

iSpecifyThePasswordAs() public method

public iSpecifyThePasswordAs ( $password = null )

iSpecifyThePhoneNumberAs() public method

public iSpecifyThePhoneNumberAs ( $phoneNumber )

iSubscribeToTheNewsletter() public method

iTryToVerifyUsing() public method

public iTryToVerifyUsing ( $token )

iUseItToVerify() public method

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

iUseVerificationLinkFromFirstEmailToVerify() public method

iVerifyMyAccount() public method

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

iWantToRegisterANewAccount() public method

myAccountShouldBeVerified() public method

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

myAccountShouldNotBeVerified() public method

myEmailShouldBe() public method

public myEmailShouldBe ( $email )