9 use Magento\Backend\Test\Page\Adminhtml\DeleteGroup;
10 use Magento\Backend\Test\Page\Adminhtml\EditGroup;
11 use Magento\Backend\Test\Page\Adminhtml\StoreIndex;
12 use Magento\Backup\Test\Page\Adminhtml\BackupIndex;
14 use Magento\Mtf\TestCase\Injectable;
101 public function test(StoreGroup
$storeGroup, $createBackup)
106 $enableBackupsStep = $this->objectManager->create(
107 SetupConfigurationStep::class,
108 [
'configData' =>
'enable_backups_functionality']
110 $enableBackupsStep->run();
111 $this->backupIndex->open()
113 ->massaction([],
'Delete',
true,
'Select All');
116 $this->storeIndex->open();
117 $this->storeIndex->getStoreGrid()->searchAndOpenStoreGroup(
$storeGroup);
118 $this->editGroup->getFormPageActions()->delete();
119 $this->deleteGroup->getDeleteGroupForm()->fillForm([
'create_backup' => $createBackup]);
120 $this->deleteGroup->getFormPageActions()->delete();
__inject(StoreIndex $storeIndex, EditGroup $editGroup, DeleteGroup $deleteGroup, BackupIndex $backupIndex)