/** * @When I switch the way orders are sorted by :fieldName */ public function iSwitchSortingBy($fieldName) { $this->indexPage->sortBy($fieldName); }
/** * @When I switch the way products are sorted by :field * @When I start sorting products by :field * @Given the products are already sorted by :field */ public function iSortProductsBy($field) { $this->indexPage->sortBy($field); }
/** * @When I switch the way shipping methods are sorted by :field * @When I start sorting shipping methods by :field * @Given the shipping methods are already sorted by :field */ public function iSortShippingMethodsBy($field) { $this->indexPage->sortBy($field); }
/** * @When I switch the way payment methods are sorted by :field * @When I start sorting payment methods by :field * @Given the payment methods are already sorted by :field */ public function iSortPaymentMethodsBy($field) { $this->indexPage->sortBy($field); }