We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 13db0b1 + c39660b commit 1872053Copy full SHA for 1872053
dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Product/View.php
@@ -522,14 +522,16 @@ public function waitLoader()
522
}
523
524
/**
525
- * Check id media gallery is visible for the product.
+ * Check if media gallery is visible for the product.
526
*
527
* @return bool
528
*/
529
public function isGalleryVisible()
530
{
531
$this->waitForElementNotVisible($this->galleryLoader);
532
- return $this->_rootElement->find($this->mediaGallery)->isVisible();
+ $this->waitForElementVisible($this->mediaGallery);
533
+
534
+ return true;
535
536
537
0 commit comments