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

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

Public Methods

Method Description
__construct ( 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\ResetPasswordPageInterface $resetPasswordPage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
iLogIn ( )
iLogInToTheAdminPanelWithEmailAndPassword ( $email, $password )
iRegisterWithEmailAndPassword ( $email, $password )
iResetIt ( )
iShouldBeAbleToLogInAsWithPassword ( $email, $password )
iShouldBeLoggedIn ( )
iShouldBeNotifiedAboutBadCredentials ( )
iShouldBeNotifiedAboutDisabledAccount ( )
iShouldBeNotifiedThatElementIsRequired ( $elementName )
iShouldBeNotifiedThatEmailWithResetInstructionWasSend ( )
iShouldNotBeLoggedIn ( )
iSpecifyTheEmail ( $email = null )
iSpecifyThePasswordAs ( $password = null )
iSpecifyTheUsername ( $username = null )
iWantToLogIn ( )
iWantToResetPassword ( )

Method Details

__construct() public method

public __construct ( 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\ResetPasswordPageInterface $resetPasswordPage, Sylius\Behat\Service\Resolver\CurrentPageResolverInterface $currentPageResolver, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
$homePage Sylius\Behat\Page\Shop\HomePageInterface
$loginPage Sylius\Behat\Page\Shop\Account\LoginPageInterface
$registerPage Sylius\Behat\Page\Shop\Account\RegisterPageInterface
$resetPasswordPage Sylius\Behat\Page\Shop\Account\ResetPasswordPageInterface
$currentPageResolver Sylius\Behat\Service\Resolver\CurrentPageResolverInterface
$notificationChecker Sylius\Behat\Service\NotificationCheckerInterface

iLogIn() public method

public iLogIn ( )

iLogInToTheAdminPanelWithEmailAndPassword() public method

public iLogInToTheAdminPanelWithEmailAndPassword ( $email, $password )

iRegisterWithEmailAndPassword() public method

public iRegisterWithEmailAndPassword ( $email, $password )

iResetIt() public method

public iResetIt ( )

iShouldBeAbleToLogInAsWithPassword() public method

public iShouldBeAbleToLogInAsWithPassword ( $email, $password )

iShouldBeLoggedIn() public method

public iShouldBeLoggedIn ( )

iShouldBeNotifiedAboutBadCredentials() public method

iShouldBeNotifiedAboutDisabledAccount() public method

iShouldBeNotifiedThatElementIsRequired() public method

public iShouldBeNotifiedThatElementIsRequired ( $elementName )

iShouldBeNotifiedThatEmailWithResetInstructionWasSend() public method

iShouldNotBeLoggedIn() public method

iSpecifyTheEmail() public method

public iSpecifyTheEmail ( $email = null )

iSpecifyThePasswordAs() public method

public iSpecifyThePasswordAs ( $password = null )

iSpecifyTheUsername() public method

public iSpecifyTheUsername ( $username = null )

iWantToLogIn() public method

public iWantToLogIn ( )

iWantToResetPassword() public method