Skip to content

Commit 1872053

Browse files
Merge branch 'MAGETWO-60299' of https://github.com/magento-falcons/magento2ce into MAGETWO-61201
2 parents 13db0b1 + c39660b commit 1872053

File tree

1 file changed

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

1 file changed

+4
-2
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Product/View.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,14 +522,16 @@ public function waitLoader()
522522
}
523523

524524
/**
525-
* Check id media gallery is visible for the product.
525+
* Check if media gallery is visible for the product.
526526
*
527527
* @return bool
528528
*/
529529
public function isGalleryVisible()
530530
{
531531
$this->waitForElementNotVisible($this->galleryLoader);
532-
return $this->_rootElement->find($this->mediaGallery)->isVisible();
532+
$this->waitForElementVisible($this->mediaGallery);
533+
534+
return true;
533535
}
534536

535537
/**

0 commit comments

Comments
 (0)