9 use Magento\Mtf\Constraint\AbstractConstraint;
10 use Magento\Cms\Test\Page\Adminhtml\CmsPageNew;
11 use Magento\Variable\Test\Fixture\SystemVariable;
26 CmsPageNew $cmsPageNew,
27 SystemVariable $systemVariable
29 $systemVariable->persist();
32 \PHPUnit\Framework\Assert::assertFalse(
33 $cmsPageNew->getPageForm()->isVariablesBlockVisible(),
34 'Access to system variables block is supposed to be restricted.' 45 return 'Access to system variables block is restricted and block is not visible.';
processAssert(CmsPageNew $cmsPageNew, SystemVariable $systemVariable)