PHP Класс Sylius\Behat\Context\Ui\Shop\RegistrationContext

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

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

Метод Описание
__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 )

Приватные методы

Метод Описание
assertFieldValidationMessage ( string $element, string $expectedMessage )

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

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

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 iConfirmThisPassword ( $password )

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

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

public iLogInAsWithPassword ( $email, $password )

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

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

public iRegisterWithEmailAndPassword ( $email, $password )

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

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

public iShouldBeAbleToLogInAsWithPassword ( $email, $password )

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

public iShouldBeLoggedIn ( )

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

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

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

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

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

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

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

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

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

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

public iShouldNotBeAbleToLogInAsWithPassword ( $email, $password )

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

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

public iSpecifyTheEmail ( $email = null )

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

public iSpecifyTheFirstName ( $firstName = null )

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

public iSpecifyTheLastName ( $lastName = null )

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

public iSpecifyThePasswordAs ( $password = null )

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

public iSpecifyThePhoneNumberAs ( $phoneNumber )

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

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

public iTryToVerifyUsing ( $token )

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

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

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

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

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

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

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

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

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

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

public myEmailShouldBe ( $email )