9 use Magento\Cms\Test\Page\CmsIndex;
11 use Magento\Mtf\Constraint\AbstractConstraint;
29 if ($cmsIndex->getFooterBlock()->isStoreGroupSwitcherVisible()
30 && $cmsIndex->getFooterBlock()->isStoreGroupVisible(
$store)
32 $cmsIndex->getFooterBlock()->selectStoreGroup(
$store);
35 $isStoreViewVisible = !$cmsIndex->getStoreSwitcherBlock()->isStoreViewDropdownVisible()
37 : $cmsIndex->getStoreSwitcherBlock()->isStoreViewVisible(
$store);
39 \PHPUnit\Framework\Assert::assertTrue(
41 "Store view is not visible in dropdown on CmsIndex page" 52 return 'Store view is visible in dropdown on CmsIndex page';
processAssert(Store $store, CmsIndex $cmsIndex)