File tree Expand file tree Collapse file tree 3 files changed +31
-21
lines changed
Elasticsearch/Test/Mftf/Test
Indexer/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +31
-21
lines changed Original file line number Diff line number Diff line change 29
29
<deleteData createDataKey =" simpleProduct1" stepKey =" deleteSimpleProduct1" />
30
30
<deleteData createDataKey =" categoryFirst" stepKey =" deleteCategory" />
31
31
<actionGroup ref =" ResetSearchEngineConfiguration" stepKey =" resetCatalogSearchConfiguration" />
32
- <actionGroup ref =" updateIndexerOnSave " stepKey =" resetIndexerBackToOriginalState" >
32
+ <actionGroup ref =" UpdateIndexerOnSaveActionGroup " stepKey =" resetIndexerBackToOriginalState" >
33
33
<argument name =" indexerName" value =" catalogsearch_fulltext" />
34
34
</actionGroup >
35
35
<actionGroup ref =" logout" stepKey =" logoutOfAdmin" />
39
39
<comment userInput =" Change Catalog search engine option to Elastic Search 5.0+" stepKey =" chooseElasticSearch5" />
40
40
<actionGroup ref =" ChooseElasticSearchAsSearchEngine" stepKey =" chooseES5" />
41
41
<actionGroup ref =" ClearPageCacheActionGroup" stepKey =" clearing" />
42
- <actionGroup ref =" updateIndexerBySchedule " stepKey =" updateAnIndexerBySchedule" >
42
+ <actionGroup ref =" UpdateIndexerByScheduleActionGroup " stepKey =" updateAnIndexerBySchedule" >
43
43
<argument name =" indexerName" value =" catalogsearch_fulltext" />
44
44
</actionGroup >
45
45
<actionGroup ref =" logout" stepKey =" logoutOfAdmin" />
57
57
<comment userInput =" End of searching products" stepKey =" endOfSearchingProducts" />
58
58
<actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin2" />
59
59
</test >
60
- </tests >
60
+ </tests >
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 =" updateIndexerBySchedule " >
11
+ <actionGroup name =" UpdateIndexerByScheduleActionGroup " >
12
12
<annotations >
13
13
<description >Goes to the Index Management page. Checks the provided Indexer Name. Selects 'Update by Schedule'. Clicks on Submit.</description >
14
14
</annotations >
24
24
<!-- No re-indexing is done as part of this actionGroup since the test required no re-indexing -->
25
25
<waitForPageLoad stepKey =" waitForSave" />
26
26
</actionGroup >
27
-
28
- <actionGroup name =" updateIndexerOnSave" >
29
- <annotations >
30
- <description >Goes to the Index Management page. Checks the provided Indexer Name. Selects 'Update on Save'. Clicks on Submit.</description >
31
- </annotations >
32
- <arguments >
33
- <argument name =" indexerName" type =" string" />
34
- </arguments >
35
-
36
- <amOnPage url =" {{_ENV.MAGENTO_BACKEND_NAME}}/indexer/indexer/list/" stepKey =" amOnIndexManagementPage2" />
37
- <waitForPageLoad stepKey =" waitForIndexManagementPageToLoad2" />
38
- <click selector =" {{AdminIndexManagementSection.indexerCheckbox(indexerName)}}" stepKey =" selectIndexer2" />
39
- <selectOption selector =" {{AdminIndexManagementSection.massActionSelect}}" userInput =" change_mode_onthefly" stepKey =" selectUpdateOnSave" />
40
- <click selector =" {{AdminIndexManagementSection.massActionSubmit}}" stepKey =" submitIndexerForm2" />
41
- <!-- No re-indexing is done as part of this actionGroup since the test required no re-indexing -->
42
- <waitForPageLoad stepKey =" waitForSave2" />
43
- </actionGroup >
44
27
</actionGroups >
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 =" UpdateIndexerOnSaveActionGroup" >
12
+ <annotations >
13
+ <description >Goes to the Index Management page. Checks the provided Indexer Name. Selects 'Update on Save'. Clicks on Submit.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" indexerName" type =" string" />
17
+ </arguments >
18
+
19
+ <amOnPage url =" {{_ENV.MAGENTO_BACKEND_NAME}}/indexer/indexer/list/" stepKey =" amOnIndexManagementPage2" />
20
+ <waitForPageLoad stepKey =" waitForIndexManagementPageToLoad2" />
21
+ <click selector =" {{AdminIndexManagementSection.indexerCheckbox(indexerName)}}" stepKey =" selectIndexer2" />
22
+ <selectOption selector =" {{AdminIndexManagementSection.massActionSelect}}" userInput =" change_mode_onthefly" stepKey =" selectUpdateOnSave" />
23
+ <click selector =" {{AdminIndexManagementSection.massActionSubmit}}" stepKey =" submitIndexerForm2" />
24
+ <!-- No re-indexing is done as part of this actionGroup since the test required no re-indexing -->
25
+ <waitForPageLoad stepKey =" waitForSave2" />
26
+ </actionGroup >
27
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments