9 use Magento\Reports\Test\Page\Adminhtml\SearchIndex;
10 use Magento\Mtf\Constraint\AbstractConstraint;
27 public function processAssert(SearchIndex $searchIndex, $productName, $countProducts, $countSearch)
30 'query_text' => $productName,
31 'num_results' => $countProducts,
32 'popularity' => $countSearch,
34 \PHPUnit\Framework\Assert::assertTrue(
35 $searchIndex->getSearchGrid()->isRowVisible($filter),
36 'Search terms report is absent in Search Terms grid.' 47 return 'Search terms report is present in Search Terms grid.';
processAssert(SearchIndex $searchIndex, $productName, $countProducts, $countSearch)