9 use Magento\Cms\Test\Page\Adminhtml\CmsPageNew;
10 use Magento\Variable\Test\Fixture\SystemVariable;
11 use Magento\Mtf\Constraint\AbstractConstraint;
26 CmsPageNew $cmsPageNew,
27 SystemVariable $systemVariable
29 $customVariableName = $systemVariable->getName();
31 $cmsPageForm = $cmsPageNew->getPageForm();
32 $variables = $cmsPageForm->getSystemVariables();
34 \PHPUnit\Framework\Assert::assertFalse(
35 in_array($customVariableName, $variables),
36 'Custom System Variable "' . $customVariableName .
'" is present in Cms Page Form.' 47 return "Custom System Variable is absent in Cms Page Form.";
processAssert(CmsPageNew $cmsPageNew, SystemVariable $systemVariable)