10 use Magento\Catalog\Test\Page\Category\CatalogCategoryView;
11 use Magento\Cms\Test\Page\CmsIndex;
12 use Magento\Mtf\Constraint\AbstractConstraint;
29 CatalogCategoryView $catalogCategoryView,
33 \PHPUnit\Framework\Assert::assertFalse(
34 $catalogCategoryView->getTopmenu()->isCategoryVisible(
$category->getName()),
35 'Expected that ' .
$category->getName() .
' is not visible in navigation menu.' 46 return "Category is not visible in navigation menu";