9 use Magento\Backend\Test\Page\Adminhtml\SystemConfigEdit;
11 use Magento\Mtf\TestCase\Injectable;
37 public function test(SystemConfigEdit $systemConfigEdit,
ConfigData $httpsConfig)
39 $systemConfigEdit->open();
40 $section = $httpsConfig->getSection();
41 $keys = array_keys($section);
42 foreach ($keys as $key) {
43 $parts = explode(
'/', $key, 3);
45 $groupName = $parts[1];
46 $fieldName = $parts[2];
47 $systemConfigEdit->getForm()->getGroup($tabName, $groupName)
48 ->setValue($tabName, $groupName, $fieldName, $section[$key][
'label']);