9 use Magento\Variable\Test\Fixture\SystemVariable;
10 use Magento\Variable\Test\Page\Adminhtml\SystemVariableIndex;
11 use Magento\Variable\Test\Page\Adminhtml\SystemVariableNew;
12 use Magento\Mtf\TestCase\Injectable;
55 SystemVariableIndex $systemVariableIndex,
56 SystemVariableNew $systemVariableNew
58 $this->systemVariableIndexPage = $systemVariableIndex;
59 $this->systemVariableNewPage = $systemVariableNew;
68 public function test(SystemVariable $customVariable)
71 $this->systemVariableIndexPage->open();
72 $this->systemVariableIndexPage->getGridPageActions()->addNew();
73 $this->systemVariableNewPage->getSystemVariableForm()->fill($customVariable);
74 $this->systemVariableNewPage->getFormPageActions()->save();
test(SystemVariable $customVariable)
__inject(SystemVariableIndex $systemVariableIndex, SystemVariableNew $systemVariableNew)