File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Elasticsearch6/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 69
69
<data key =" path" >catalog/frontend/grid_per_page_values</data >
70
70
<data key =" value" >1,2</data >
71
71
</entity >
72
+ <entity name =" DefaultGridPerPageDefaultConfigData" >
73
+ <data key =" path" >catalog/frontend/grid_per_page</data >
74
+ <data key =" value" >12</data >
75
+ </entity >
76
+ <entity name =" CustomGridPerPageDefaultConfigData" >
77
+ <data key =" path" >catalog/frontend/grid_per_page</data >
78
+ <data key =" value" >1</data >
79
+ </entity >
72
80
</entities >
Original file line number Diff line number Diff line change 30
30
<field key =" name" >Product Simple AAA</field >
31
31
</createData >
32
32
<magentoCLI command =" config:set {{CustomGridPerPageValuesConfigData.path}} {{CustomGridPerPageValuesConfigData.value}}" stepKey =" setCustomGridPerPageValues" />
33
+ <magentoCLI command =" config:set {{CustomGridPerPageDefaultConfigData.path}} {{CustomGridPerPageDefaultConfigData.value}}" stepKey =" setCustomGridPerPageDefaults" />
33
34
<magentoCLI stepKey =" flushConfigCache" command =" cache:flush config" />
34
35
<magentoCron groups =" index" stepKey =" runCronIndex" />
35
36
</before >
38
39
<deleteData createDataKey =" createFirstProduct" stepKey =" deleteFirstProduct" />
39
40
<deleteData createDataKey =" createSecondProduct" stepKey =" deleteSecondProduct" />
40
41
<magentoCLI command =" config:set {{DefaultGridPerPageValuesConfigData.path}} {{DefaultGridPerPageValuesConfigData.value}}" stepKey =" setDefaultGridPerPageValues" />
42
+ <magentoCLI command =" config:set {{DefaultGridPerPageDefaultConfigData.path}} {{DefaultGridPerPageDefaultConfigData.value}}" stepKey =" setDefaultGridPerPageDefaults" />
41
43
</after >
42
44
43
45
<actionGroup ref =" StorefrontOpenHomePageActionGroup" stepKey =" openStorefrontHomePage" />
60
62
<selectOption selector =" {{StorefrontCategoryBottomToolbarSection.perPage}}" userInput =" 2" stepKey =" selectDisplayedProductInGridPerPage" />
61
63
<waitForPageLoad stepKey =" waitForPageLoad" />
62
64
63
- <seeInCurrentUrl stepKey =" assertStillOnSecondPage" url =" ?p=2" />
64
- <actionGroup ref =" AssertStorefrontNoProductsFoundActionGroup" stepKey =" assertEmptyResultsPage" />
65
+ <dontSeeInCurrentUrl stepKey =" assertRedirectedToFirstPage" url =" ?p=2" />
66
+
67
+ <actionGroup ref =" AssertProductOnCategoryPageActionGroup" stepKey =" assertFirstProductDisplayedOnCatalogSearchPage" >
68
+ <argument name =" product" value =" $createFirstProduct$" />
69
+ </actionGroup >
70
+ <actionGroup ref =" AssertProductOnCategoryPageActionGroup" stepKey =" assertSecondProductDisplayedOnCatalogSearchPage" >
71
+ <argument name =" product" value =" $createSecondProduct$" />
72
+ </actionGroup >
65
73
</test >
66
74
</tests >
You can’t perform that action at this time.
0 commit comments