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