|
@@ 126-129 (lines=4) @@
|
| 123 |
|
$element = $this->attribute->getElementByLabel($this->translator->translate('Condition Name')); |
| 124 |
|
$this->setValue($element, $this->name); |
| 125 |
|
|
| 126 |
|
if ($this->contentAs) { |
| 127 |
|
$select = new WebDriverSelect($this->attribute->getElementByLabel($this->translator->translate('Show Content as'))); |
| 128 |
|
$select->selectByVisibleText($this->contentAs); |
| 129 |
|
} |
| 130 |
|
|
| 131 |
|
if ($this->status) { |
| 132 |
|
$select = new WebDriverSelect($this->attribute->getElementByLabel($this->translator->translate('Status'))); |
|
@@ 131-134 (lines=4) @@
|
| 128 |
|
$select->selectByVisibleText($this->contentAs); |
| 129 |
|
} |
| 130 |
|
|
| 131 |
|
if ($this->status) { |
| 132 |
|
$select = new WebDriverSelect($this->attribute->getElementByLabel($this->translator->translate('Status'))); |
| 133 |
|
$select->selectByVisibleText($this->status); |
| 134 |
|
} |
| 135 |
|
|
| 136 |
|
if ($this->storeView) { |
| 137 |
|
$storeViewElement = $this->attribute->getElementByLabel($this->translator->translate('Store View')); |