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