PHP Class Sylius\Behat\Context\Ui\PaypalContext

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

Public Methods

Method 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

Method Description
assertNotification ( string $expectedNotification )

Method Details

__construct() public method

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 method

iConfirmMyOrderWithPaypalPayment() public method

iShouldBeNotifiedThatMyPaymentHasBeenCancelled() public method

iShouldBeNotifiedThatMyPaymentHasBeenCompleted() public method

iShouldBeRedirectedToPaypalExpressCheckoutPage() public method

iSignInToPaypalAndPaySuccessfully() public method

iTryToPayAgain() public method

public iTryToPayAgain ( )