/** * @Given I should be able to go to the payment step again */ public function iShouldBeAbleToGoToThePaymentStepAgain() { $this->shippingPage->nextStep(); Assert::true($this->paymentPage->isOpen(), 'Checkout payment step should be opened, but it is not.'); }
/** * @When I complete the shipping step */ public function iCompleteTheShippingStep() { $this->shippingPage->nextStep(); }