9 use Magento\Variable\Test\Fixture\SystemVariable;
10 use Magento\Variable\Test\Page\Adminhtml\SystemVariableIndex;
11 use Magento\Mtf\Constraint\AbstractConstraint;
31 SystemVariableIndex $systemVariableIndexNew,
32 SystemVariable $customVariable
35 'code' => $customVariable->getCode(),
36 'name' => $customVariable->getName(),
39 $systemVariableIndexNew->open();
40 \PHPUnit\Framework\Assert::assertTrue(
41 $systemVariableIndexNew->getSystemVariableGrid()->isRowVisible($filter),
42 'Custom Variable with code \'' . $filter[
'code'] .
'\' is absent in Custom Variable grid.
' 51 public function toString() 53 return 'Custom System Variable is present in grid.
'; processAssert(SystemVariableIndex $systemVariableIndexNew, SystemVariable $customVariable)