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

fillActionOption() public method

public fillActionOption ( string $option, string $value )
$option string
$value string
    public function fillActionOption($option, $value);

Usage Example

 /**
  * @Given I add the :actionType action configured with a percentage value of :percentage%
  * @Given I add the :actionType action configured without a percentage value
  *
  */
 public function iAddTheActionConfiguredWithAPercentageValue($actionType, $percentage = null)
 {
     $this->createPage->addAction($actionType);
     $this->createPage->fillActionOption('Percentage', $percentage);
 }
All Usage Examples Of Sylius\Behat\Page\Admin\Promotion\CreatePageInterface::fillActionOption