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

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

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

Метод Описание
__construct ( Sylius\Behat\Page\Shop\Account\DashboardPageInterface $dashboardPage, Sylius\Behat\Page\Shop\Account\ProfileUpdatePageInterface $profileUpdatePage, Sylius\Behat\Page\Shop\Account\ChangePasswordPageInterface $changePasswordPage, Sylius\Behat\Page\Shop\Account\Order\IndexPageInterface $orderIndexPage, Sylius\Behat\Page\Shop\Account\Order\ShowPageInterface $orderShowPage, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
iBrowseMyOrders ( )
iChangePasswordTo ( $oldPassword, $newPassword )
iSaveMyChanges ( )
iShouldBeAbleToChangePaymentMethodForThisOrder ( Sylius\Component\Core\Model\OrderInterface $order )
iShouldBeNotifiedThatElementIsInvalid ( $element )
iShouldBeNotifiedThatElementIsRequired ( $element )
iShouldBeNotifiedThatItHasBeenSuccessfullyEdited ( )
iShouldBeNotifiedThatMyPasswordHasBeenSuccessfullyChanged ( )
iShouldBeNotifiedThatProvidedPasswordIsDifferentThanTheCurrentOne ( )
iShouldBeNotifiedThatTheEmailIsAlreadyUsed ( )
iShouldBeNotifiedThatTheEnteredPasswordsDoNotMatch ( )
iShouldBeNotifiedThatThePasswordShouldBeAtLeastCharactersLong ( )
iShouldBeSubscribedToTheNewsletter ( )
iShouldSeeASingleOrderInTheList ( )
iShouldSeeAsItemPrice ( $itemPrice )
iShouldSeeAsOrderSSubtotal ( $subtotal )
iShouldSeeAsOrderSTotal ( $total )
iShouldSeeAsProvinceInTheBillingAddress ( $provinceName )
iShouldSeeAsProvinceInTheShippingAddress ( $provinceName )
iShouldSeeAsShippingAddress ( $customerName, $street, $postcode, $city, $countryName )
iShouldSeeIHaveToPayForThisOrder ( $paymentAmount )
iShouldSeeItemsInTheList ( $numberOfItems )
iSpecifyCustomerTheEmail ( $email = null )
iSpecifyTheConfirmationPasswordAs ( $password )
iSpecifyTheCurrentPasswordAs ( $password )
iSpecifyTheFirstName ( $firstName = null )
iSpecifyTheLastName ( $lastName = null )
iSpecifyTheNewPasswordAs ( $password )
iSubscribeToTheNewsletter ( )
iViewTheSummaryOfTheOrder ( Sylius\Component\Core\Model\OrderInterface $order )
iViewingTheSummaryOfMyLastOrder ( )
iWantToChangeMyPassword ( )
iWantToModifyMyProfile ( )
itShouldBeShippedTo ( $customerName, $street, $postcode, $city, $countryName )
itShouldHasNumber ( $orderNumber )
myEmailShouldBe ( $email )
myNameShouldBe ( $name )
theProductShouldBeInTheItemsList ( $productName )
thisOrderShouldHaveNumber ( Sylius\Component\Core\Model\OrderInterface $order )

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

Метод Описание
assertFieldValidationMessage ( Sylius\Behat\Page\PageInterface $page, string $element, string $expectedMessage )

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

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

public __construct ( Sylius\Behat\Page\Shop\Account\DashboardPageInterface $dashboardPage, Sylius\Behat\Page\Shop\Account\ProfileUpdatePageInterface $profileUpdatePage, Sylius\Behat\Page\Shop\Account\ChangePasswordPageInterface $changePasswordPage, Sylius\Behat\Page\Shop\Account\Order\IndexPageInterface $orderIndexPage, Sylius\Behat\Page\Shop\Account\Order\ShowPageInterface $orderShowPage, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker )
$dashboardPage Sylius\Behat\Page\Shop\Account\DashboardPageInterface
$profileUpdatePage Sylius\Behat\Page\Shop\Account\ProfileUpdatePageInterface
$changePasswordPage Sylius\Behat\Page\Shop\Account\ChangePasswordPageInterface
$orderIndexPage Sylius\Behat\Page\Shop\Account\Order\IndexPageInterface
$orderShowPage Sylius\Behat\Page\Shop\Account\Order\ShowPageInterface
$notificationChecker Sylius\Behat\Service\NotificationCheckerInterface

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

public iBrowseMyOrders ( )

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

public iChangePasswordTo ( $oldPassword, $newPassword )

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

public iSaveMyChanges ( )

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

public iShouldBeAbleToChangePaymentMethodForThisOrder ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

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

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

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

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

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

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

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

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

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

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

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

public iShouldSeeAsItemPrice ( $itemPrice )

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

public iShouldSeeAsOrderSSubtotal ( $subtotal )

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

public iShouldSeeAsOrderSTotal ( $total )

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

public iShouldSeeAsProvinceInTheBillingAddress ( $provinceName )

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

public iShouldSeeAsProvinceInTheShippingAddress ( $provinceName )

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

public iShouldSeeAsShippingAddress ( $customerName, $street, $postcode, $city, $countryName )

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

public iShouldSeeIHaveToPayForThisOrder ( $paymentAmount )

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

public iShouldSeeItemsInTheList ( $numberOfItems )

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

public iSpecifyCustomerTheEmail ( $email = null )

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

public iSpecifyTheConfirmationPasswordAs ( $password )

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

public iSpecifyTheCurrentPasswordAs ( $password )

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

public iSpecifyTheFirstName ( $firstName = null )

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

public iSpecifyTheLastName ( $lastName = null )

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

public iSpecifyTheNewPasswordAs ( $password )

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

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

public iViewTheSummaryOfTheOrder ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

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

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

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

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

public itShouldBeShippedTo ( $customerName, $street, $postcode, $city, $countryName )

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

public itShouldHasNumber ( $orderNumber )

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

public myEmailShouldBe ( $email )

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

public myNameShouldBe ( $name )

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

public theProductShouldBeInTheItemsList ( $productName )

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

public thisOrderShouldHaveNumber ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface