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

MAGETWO-60299: Sample Data Test Failure: NavigateProductEntityTest

parent 5ffafe22
Branches
No related merge requests found
...@@ -522,14 +522,16 @@ class View extends AbstractConfigureBlock ...@@ -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 * @return bool
*/ */
public function isGalleryVisible() public function isGalleryVisible()
{ {
$this->waitForElementNotVisible($this->galleryLoader); $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