9 use Magento\CatalogSearch\Test\Page\CatalogsearchResult;
10 use Magento\Cms\Test\Page\CmsIndex;
11 use Magento\Mtf\Constraint\AbstractConstraint;
12 use Magento\Mtf\Fixture\FixtureInterface;
29 CatalogsearchResult $catalogSearchResult,
34 $cmsIndex->getSearchBlock()->search(
$product->getSku());
35 \PHPUnit\Framework\Assert::assertFalse(
36 $catalogSearchResult->getListProductBlock()->getProductItem(
$product)->isVisible(),
37 'Product was found by SKU.' 48 return "Product is not searchable by SKU.";
processAssert(CatalogsearchResult $catalogSearchResult, CmsIndex $cmsIndex, FixtureInterface $product)