/** * @Given I add the "Total price of items from taxon" rule configured with :count :taxonName */ public function iAddTheRuleConfiguredWith($count, $taxonName) { $this->createPage->addRule('Total price of items from taxon'); $this->createPage->selectRuleOption('Taxon', $taxonName); $this->createPage->fillRuleOption('Amount', $count); }
/** * @When I add the "Contains product" rule configured with the :productName product */ public function iAddTheRuleConfiguredWithTheProduct($productName) { $this->createPage->addRule('Contains product'); $this->createPage->selectRuleOption('Product', $productName); }