9 use Magento\Mtf\Client\BrowserInterface;
10 use Magento\Mtf\Fixture\InjectableFixture;
11 use Magento\Mtf\Constraint\AbstractConstraint;
12 use Magento\Catalog\Test\Page\Product\CatalogProductView;
27 BrowserInterface $browser,
28 CatalogProductView $catalogProductView,
31 $browser->open($_ENV[
'app_frontend_url'] .
$product->getUrlKey() .
'.html');
32 \PHPUnit\Framework\Assert::assertTrue(
33 $catalogProductView->getViewBlock()->isVideoVisible(),
34 'Product video is not displayed on product view when it should.' 45 return 'Product video is displayed on product view.';
processAssert(BrowserInterface $browser, CatalogProductView $catalogProductView, InjectableFixture $product)