PHP Class Sylius\Behat\Page\Shop\Checkout\AddressPage

Author: Arkadiusz Krakowiak ([email protected])
Inheritance: extends Sylius\Behat\Page\SymfonyPage, implements Sylius\Behat\Page\Shop\Checkout\AddressPageInterface
Datei anzeigen Open project: sylius/sylius

Public Methods

Method Description
__construct ( Behat\Mink\Session $session, array $parameters, Symfony\Component\Routing\RouterInterface $router, Sylius\Component\Core\Factory\AddressFactoryInterface $addressFactory )
backToStore ( )
canSignIn ( )
checkInvalidCredentialsValidation ( )
checkValidationMessageFor ( $element, $message )
chooseDifferentBillingAddress ( )
getItemSubtotal ( $itemName )
getPreFilledBillingAddress ( )
getPreFilledShippingAddress ( )
getRouteName ( )
getShippingAddressCountry ( )
hasBillingAddressInput ( )
hasShippingAddressInput ( )
nextStep ( )
selectBillingAddressFromAddressBook ( Sylius\Component\Core\Model\AddressInterface $address )
selectBillingAddressProvince ( $province )
selectShippingAddressFromAddressBook ( Sylius\Component\Core\Model\AddressInterface $address )
selectShippingAddressProvince ( $province )
signIn ( )
specifyBillingAddress ( Sylius\Component\Core\Model\AddressInterface $billingAddress )
specifyBillingAddressProvince ( $provinceName )
specifyEmail ( $email )
specifyPassword ( $password )
specifyShippingAddress ( Sylius\Component\Core\Model\AddressInterface $shippingAddress )
specifyShippingAddressProvince ( $provinceName )

Protected Methods

Method Description
getDefinedElements ( )

Private Methods

Method Description
assertAddressType ( string $type )
getFieldElement ( string $element ) : Behat\Mink\Element\NodeElement | null
getPreFilledAddress ( string $type ) : Sylius\Component\Core\Model\AddressInterface
specifyAddress ( Sylius\Component\Core\Model\AddressInterface $address, string $type )
waitForElement ( $timeout, $elementName ) : boolean
waitForLoginAction ( ) : boolean

Method Details

__construct() public method

public __construct ( Behat\Mink\Session $session, array $parameters, Symfony\Component\Routing\RouterInterface $router, Sylius\Component\Core\Factory\AddressFactoryInterface $addressFactory )
$session Behat\Mink\Session
$parameters array
$router Symfony\Component\Routing\RouterInterface
$addressFactory Sylius\Component\Core\Factory\AddressFactoryInterface

backToStore() public method

public backToStore ( )

canSignIn() public method

public canSignIn ( )

checkInvalidCredentialsValidation() public method

checkValidationMessageFor() public method

public checkValidationMessageFor ( $element, $message )

chooseDifferentBillingAddress() public method

getDefinedElements() protected method

protected getDefinedElements ( )

getItemSubtotal() public method

public getItemSubtotal ( $itemName )

getPreFilledBillingAddress() public method

getPreFilledShippingAddress() public method

getRouteName() public method

public getRouteName ( )

getShippingAddressCountry() public method

hasBillingAddressInput() public method

hasShippingAddressInput() public method

nextStep() public method

public nextStep ( )

selectBillingAddressFromAddressBook() public method

public selectBillingAddressFromAddressBook ( Sylius\Component\Core\Model\AddressInterface $address )
$address Sylius\Component\Core\Model\AddressInterface

selectBillingAddressProvince() public method

public selectBillingAddressProvince ( $province )

selectShippingAddressFromAddressBook() public method

public selectShippingAddressFromAddressBook ( Sylius\Component\Core\Model\AddressInterface $address )
$address Sylius\Component\Core\Model\AddressInterface

selectShippingAddressProvince() public method

public selectShippingAddressProvince ( $province )

signIn() public method

public signIn ( )

specifyBillingAddress() public method

public specifyBillingAddress ( Sylius\Component\Core\Model\AddressInterface $billingAddress )
$billingAddress Sylius\Component\Core\Model\AddressInterface

specifyBillingAddressProvince() public method

public specifyBillingAddressProvince ( $provinceName )

specifyEmail() public method

public specifyEmail ( $email )

specifyPassword() public method

public specifyPassword ( $password )

specifyShippingAddress() public method

public specifyShippingAddress ( Sylius\Component\Core\Model\AddressInterface $shippingAddress )
$shippingAddress Sylius\Component\Core\Model\AddressInterface

specifyShippingAddressProvince() public method

public specifyShippingAddressProvince ( $provinceName )