class CheckoutPaymentContext implements Context

Methods

__construct( SelectPaymentPageInterface $selectPaymentPage, CompletePageInterface $completePage)

No description

iChoosePaymentMethod($paymentMethodName)

No description

iWantToPayForOrder()

No description

iAmAtTheCheckoutPaymentStep()

No description

iCompleteThePaymentStep()

No description

iSelectPaymentMethod($name)

No description

iShouldBeAbleToSelectPaymentMethod($paymentMethodName)

No description

iShouldNotBeAbleToSelectPaymentMethod($paymentMethodName)

No description

iShouldHavePaymentMethodAvailableAsFirstChoice($paymentMethodName)

No description

iShouldHavePaymentMethodAvailableAsLastChoice($paymentMethodName)

No description

Details

at line 37
__construct( SelectPaymentPageInterface $selectPaymentPage, CompletePageInterface $completePage)

Parameters

SelectPaymentPageInterface $selectPaymentPage
CompletePageInterface $completePage

at line 46
iTryToOpenCheckoutPaymentPage()

at line 54
iDecideToChangeMyShippingMethod()

at line 62
iChoosePaymentMethod($paymentMethodName)

Parameters

$paymentMethodName

at line 71
iWantToPayForOrder()

at line 79
iAmAtTheCheckoutPaymentStep()

at line 87
iCompleteThePaymentStep()

at line 95
iSelectPaymentMethod($name)

Parameters

$name

at line 103
iShouldBeOnTheCheckoutPaymentStep()

at line 111
iShouldBeAbleToSelectPaymentMethod($paymentMethodName)

Parameters

$paymentMethodName

at line 119
iShouldNotBeAbleToSelectPaymentMethod($paymentMethodName)

Parameters

$paymentMethodName

at line 127
iShouldBeRedirectedToThePaymentStep()

at line 135
iShouldBeAbleToGoToTheSummaryPageAgain()

at line 145
iShouldHavePaymentMethodAvailableAsFirstChoice($paymentMethodName)

Parameters

$paymentMethodName

at line 155
iShouldHavePaymentMethodAvailableAsLastChoice($paymentMethodName)

Parameters

$paymentMethodName