Sylius\Behat\Page\Admin\Promotion\CreatePageInterface::selectRuleOption PHP Method

selectRuleOption() public method

public selectRuleOption ( string $option, string $value, boolean $multiple = false )
$option string
$value string
$multiple boolean
    public function selectRuleOption($option, $value, $multiple = false);

Usage Example

 /**
  * @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);
 }
All Usage Examples Of Sylius\Behat\Page\Admin\Promotion\CreatePageInterface::selectRuleOption