Skip to content

Commit 8e592e2

Browse files
committed
MAGETWO-51472: [FT] Form page action block is covering fields on product page
- Categories field is aligned to the center of the browser before it is filled only for created categories not new ones;
1 parent 72e75ea commit 8e592e2

File tree

1 file changed

+4
-2
lines changed
  • dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/Edit/Section/ProductDetails

1 file changed

+4
-2
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/Edit/Section/ProductDetails/CategoryIds.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ public function __construct(
7171
*/
7272
public function setValue($value)
7373
{
74-
$this->browser->find($this->pageFooter)->hover();
75-
$this->browser->find($this->advancedInventoryButton)->hover();
74+
if ($this->browser->find($this->pageFooter)->isVisible()) {
75+
$this->browser->find($this->pageFooter)->hover();
76+
$this->browser->find($this->advancedInventoryButton)->hover();
77+
}
7678
parent::setValue($value);
7779
}
7880
}

0 commit comments

Comments
 (0)