Skip to content
Snippets Groups Projects
Commit 18720533 authored by Oleh Posyniak's avatar Oleh Posyniak
Browse files

Merge branch 'MAGETWO-60299' of https://github.com/magento-falcons/magento2ce into MAGETWO-61201

parents 13db0b11 c39660bc
No related merge requests found
......@@ -522,14 +522,16 @@ class View extends AbstractConfigureBlock
}
/**
* Check id media gallery is visible for the product.
* Check if media gallery is visible for the product.
*
* @return bool
*/
public function isGalleryVisible()
{
$this->waitForElementNotVisible($this->galleryLoader);
return $this->_rootElement->find($this->mediaGallery)->isVisible();
$this->waitForElementVisible($this->mediaGallery);
return true;
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment