9 use Magento\CatalogSearch\Test\Page\CatalogsearchResult;
10 use Magento\Cms\Test\Page\CmsIndex;
12 use Magento\Mtf\Constraint\AbstractConstraint;
33 CatalogsearchResult $catalogSearchResult,
42 $product = $this->objectManager->create(
43 \
Magento\Catalog\Test\Fixture\CatalogProductSimple::class,
46 'name' => $variation[
'name']
51 $cmsIndex->getSearchBlock()->search($variation[
'sku']);
53 while (!
$isVisibleProduct && $catalogSearchResult->getBottomToolbar()->nextPage()) {
58 "\nChild product with sku: \"%s\" is visible on frontend(by default).",
64 \PHPUnit\Framework\Assert::assertEmpty(
$errors, implode(
' ',
$errors));
74 return 'Child products generated during configurable product creation are not visible on frontend(by default)';
processAssert(CatalogsearchResult $catalogSearchResult, CmsIndex $cmsIndex, ConfigurableProduct $product)
$configurableAttributesData