8 use Magento\Mtf\Fixture\InjectableFixture;
9 use Magento\Mtf\Constraint\AbstractConstraint;
10 use Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex;
25 CatalogProductIndex $productGrid,
28 $filter = [
'sku' =>
$product->getSku()];
30 $productGrid->getProductGrid()->search($filter);
31 $src = $productGrid->getProductGrid()->getBaseImageAttribute(
'src');
32 \PHPUnit\Framework\Assert::assertTrue(
33 strpos($src,
'/placeholder/') !==
false,
34 'Product image is displayed in product grid when it should not' 45 return 'Product image is not displayed in product grid.';
processAssert(CatalogProductIndex $productGrid, InjectableFixture $product)