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 ) |
Method | Description | |
---|---|---|
assertFieldValidationMessage ( string $element, string $expectedMessage ) |
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 |
public iRegisterWithEmailAndPassword ( $email, $password ) |
public iShouldBeAbleToLogInAsWithPassword ( $email, $password ) |
public iShouldBeNotifiedThatElementIsRequired ( $element ) |
public iShouldBeNotifiedThatTheEmailIsAlreadyUsed ( ) |
public iShouldBeNotifiedThatThePasswordDoNotMatch ( ) |
public iShouldBeUnableToResendVerificationEmail ( ) |
public iShouldNotBeAbleToLogInAsWithPassword ( $email, $password ) |
public iUseItToVerify ( Sylius\Component\Core\Model\ShopUserInterface $user ) | ||
$user | Sylius\Component\Core\Model\ShopUserInterface |
public iUseVerificationLinkFromFirstEmailToVerify ( ) |
public iVerifyMyAccount ( Sylius\Component\Core\Model\CustomerInterface $customer ) | ||
$customer | Sylius\Component\Core\Model\CustomerInterface |
public myAccountShouldBeVerified ( Sylius\Component\Core\Model\ShopUserInterface $user ) | ||
$user | Sylius\Component\Core\Model\ShopUserInterface |