PHP Class Sylius\Behat\Context\Ui\PaypalContext

Author: Arkadiusz Krakowiak ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\External\PaypalExpressCheckoutPageInterface $paypalExpressCheckoutPage, Sylius\Behat\Page\Shop\Order\ShowPageInterface $orderDetails, Sylius\Behat\Page\Shop\Checkout\CompletePageInterface $summaryPage, Sylius\Behat\Service\Mocker\PaypalApiMocker $paypalApiMocker, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository )
iCancelMyPaypalPayment ( )
iConfirmMyOrderWithPaypalPayment ( )
iShouldBeNotifiedThatMyPaymentHasBeenCancelled ( )
iShouldBeNotifiedThatMyPaymentHasBeenCompleted ( )
iShouldBeRedirectedToPaypalExpressCheckoutPage ( )
iSignInToPaypalAndPaySuccessfully ( )
iTryToPayAgain ( )

Private Methods

Méthode Description
assertNotification ( string $expectedNotification )

Method Details

__construct() public méthode

public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Page\External\PaypalExpressCheckoutPageInterface $paypalExpressCheckoutPage, Sylius\Behat\Page\Shop\Order\ShowPageInterface $orderDetails, Sylius\Behat\Page\Shop\Checkout\CompletePageInterface $summaryPage, Sylius\Behat\Service\Mocker\PaypalApiMocker $paypalApiMocker, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository )
$sharedStorage Sylius\Behat\Service\SharedStorageInterface
$paypalExpressCheckoutPage Sylius\Behat\Page\External\PaypalExpressCheckoutPageInterface
$orderDetails Sylius\Behat\Page\Shop\Order\ShowPageInterface
$summaryPage Sylius\Behat\Page\Shop\Checkout\CompletePageInterface
$paypalApiMocker Sylius\Behat\Service\Mocker\PaypalApiMocker
$orderRepository Sylius\Component\Core\Repository\OrderRepositoryInterface

iCancelMyPaypalPayment() public méthode

iConfirmMyOrderWithPaypalPayment() public méthode

iShouldBeNotifiedThatMyPaymentHasBeenCancelled() public méthode

iShouldBeNotifiedThatMyPaymentHasBeenCompleted() public méthode

iShouldBeRedirectedToPaypalExpressCheckoutPage() public méthode

iSignInToPaypalAndPaySuccessfully() public méthode

iTryToPayAgain() public méthode

public iTryToPayAgain ( )