/** * @When /^I confirm my order with paypal payment$/ * @Given /^I have confirmed my order with paypal payment$/ */ public function iConfirmMyOrderWithPaypalPayment() { $this->paypalApiMocker->performActionInApiInitializeScope(function () { $this->summaryPage->confirmOrder(); }); }
/** * @Given I have confirmed my order * @When I confirm my order */ public function iConfirmMyOrder() { $this->completePage->confirmOrder(); }
/** * @Given /^I confirm my order with paypal payment$/ */ public function iConfirmMyOrderWithPaypalPayment() { $this->paypalApiMocker->mockApiPaymentInitializeResponse(); $this->summaryPage->confirmOrder(); }