File tree Expand file tree Collapse file tree 8 files changed +46
-23
lines changed
Elasticsearch/Test/Mftf/Test
Indexer/Test/Mftf/ActionGroup/IndexerActionGroup Expand file tree Collapse file tree 8 files changed +46
-23
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
- <actionGroup name =" DeleteBackup " >
11
+ <actionGroup name =" AdminBackupDeleteActionGroup " >
12
12
<annotations >
13
13
<description >Deletes a Backup using provided Backup Entity.</description >
14
14
</annotations >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" deleteBackup" extends =" DeleteBackupActionGroup" deprecated =" Use DeleteBackupActionGroup" />
12
+ </actionGroups >
Original file line number Diff line number Diff line change 39
39
<actionGroup ref =" CreateDatabaseBackupActionGroup" stepKey =" createDatabaseBackup" />
40
40
41
41
<!-- Delete system backup-->
42
- <actionGroup ref =" DeleteBackup " stepKey =" deleteSystemBackup" >
42
+ <actionGroup ref =" AdminBackupDeleteActionGroup " stepKey =" deleteSystemBackup" >
43
43
<argument name =" backup" value =" SystemBackup" />
44
44
</actionGroup >
45
45
46
46
<!-- Delete database/media backup-->
47
- <actionGroup ref =" DeleteBackup " stepKey =" deleteMediaBackup" >
47
+ <actionGroup ref =" AdminBackupDeleteActionGroup " stepKey =" deleteMediaBackup" >
48
48
<argument name =" backup" value =" MediaBackup" />
49
49
</actionGroup >
50
50
51
51
<!-- Delete database backup-->
52
- <actionGroup ref =" DeleteBackup " stepKey =" deleteDatabaseBackup" >
52
+ <actionGroup ref =" AdminBackupDeleteActionGroup " stepKey =" deleteDatabaseBackup" >
53
53
<argument name =" backup" value =" DatabaseBackup" />
54
54
</actionGroup >
55
55
Original file line number Diff line number Diff line change 30
30
<deleteData createDataKey =" simpleProduct1" stepKey =" deleteSimpleProduct1" />
31
31
<deleteData createDataKey =" categoryFirst" stepKey =" deleteCategory" />
32
32
<comment userInput =" The test was moved to elasticsearch suite" stepKey =" resetCatalogSearchConfiguration" />
33
- <actionGroup ref =" UpdateIndexerOnSave " stepKey =" resetIndexerBackToOriginalState" >
33
+ <actionGroup ref =" AdminIndexerSetUpdateOnSave " stepKey =" resetIndexerBackToOriginalState" >
34
34
<argument name =" indexerName" value =" catalogsearch_fulltext" />
35
35
</actionGroup >
36
36
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutOfAdmin" />
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi:noNamespaceSchemaLocation=" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" AdminIndexerSetUpdateOnSave" >
11
+ <annotations >
12
+ <description >Goes to the Index Management page. Checks the provided Indexer Name. Selects 'Update on Save'. Clicks on Submit.</description >
13
+ </annotations >
14
+ <arguments >
15
+ <argument name =" indexerName" type =" string" />
16
+ </arguments >
17
+
18
+ <amOnPage url =" {{_ENV.MAGENTO_BACKEND_NAME}}/indexer/indexer/list/" stepKey =" amOnIndexManagementPage2" />
19
+ <waitForPageLoad stepKey =" waitForIndexManagementPageToLoad2" />
20
+ <click selector =" {{AdminIndexManagementSection.indexerCheckbox(indexerName)}}" stepKey =" selectIndexer2" />
21
+ <selectOption selector =" {{AdminIndexManagementSection.massActionSelect}}" userInput =" change_mode_onthefly" stepKey =" selectUpdateOnSave" />
22
+ <click selector =" {{AdminIndexManagementSection.massActionSubmit}}" stepKey =" submitIndexerForm2" />
23
+ <!-- No re-indexing is done as part of this actionGroup since the test required no re-indexing -->
24
+ <waitForPageLoad stepKey =" waitForSave2" />
25
+ </actionGroup >
26
+ </actionGroups >
Original file line number Diff line number Diff line change 7
7
-->
8
8
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi:noNamespaceSchemaLocation=" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
- <actionGroup name =" UpdateIndexerOnSave" >
11
- <annotations >
12
- <description >Goes to the Index Management page. Checks the provided Indexer Name. Selects 'Update on Save'. Clicks on Submit.</description >
13
- </annotations >
14
- <arguments >
15
- <argument name =" indexerName" type =" string" />
16
- </arguments >
17
-
18
- <amOnPage url =" {{_ENV.MAGENTO_BACKEND_NAME}}/indexer/indexer/list/" stepKey =" amOnIndexManagementPage2" />
19
- <waitForPageLoad stepKey =" waitForIndexManagementPageToLoad2" />
20
- <click selector =" {{AdminIndexManagementSection.indexerCheckbox(indexerName)}}" stepKey =" selectIndexer2" />
21
- <selectOption selector =" {{AdminIndexManagementSection.massActionSelect}}" userInput =" change_mode_onthefly" stepKey =" selectUpdateOnSave" />
22
- <click selector =" {{AdminIndexManagementSection.massActionSubmit}}" stepKey =" submitIndexerForm2" />
23
- <!-- No re-indexing is done as part of this actionGroup since the test required no re-indexing -->
24
- <waitForPageLoad stepKey =" waitForSave2" />
25
- </actionGroup >
10
+ <actionGroup name =" updateIndexerOnSave" extends =" AdminIndexerSetUpdateOnSaveActionGroup" deprecated =" Use AdminIndexerSetUpdateOnSaveActionGroup" />
26
11
</actionGroups >
Original file line number Diff line number Diff line change 48
48
<waitForPageLoad stepKey =" waitForBackupIndexPageLoad" />
49
49
<see selector =" {{AdminGridTableSection.backupNameColumn}}" userInput =" {{WebSetupWizardBackup.name}}" stepKey =" seeBackupInGrid" />
50
50
<!-- Delete database backup-->
51
- <actionGroup ref =" DeleteBackup " stepKey =" deleteDatabaseBackup" >
51
+ <actionGroup ref =" AdminBackupDeleteActionGroup " stepKey =" deleteDatabaseBackup" >
52
52
<argument name =" backup" value =" WebSetupWizardBackup" />
53
53
</actionGroup >
54
54
</test >
Original file line number Diff line number Diff line change 46
46
<waitForPageLoad stepKey =" waitForBackupIndexPageLoad" />
47
47
<see selector =" {{AdminGridTableSection.backupNameColumn}}" userInput =" {{WebSetupWizardBackup.name}}" stepKey =" seeBackupInGrid" />
48
48
<!-- Delete database backup-->
49
- <actionGroup ref =" DeleteBackup " stepKey =" deleteDatabaseBackup" >
49
+ <actionGroup ref =" AdminBackupDeleteActionGroup " stepKey =" deleteDatabaseBackup" >
50
50
<argument name =" backup" value =" WebSetupWizardBackup" />
51
51
</actionGroup >
52
52
You can’t perform that action at this time.
0 commit comments