File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
app/code/Magento/Catalog/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +13
-0
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 =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
11
+ <!-- Go to storefront category product page by given parameters -->
12
+ <actionGroup name =" GoToStorefrontCategoryPageByParameters" >
13
+ <arguments >
14
+ <argument name =" category" type =" string" />
15
+ <argument name =" mode" type =" string" />
16
+ <argument name =" numOfProductsPerPage" type =" string" />
17
+ <argument name =" sortBy" type =" string" defaultValue =" position" />
18
+ </arguments >
19
+ <!-- Go to storefront category page -->
20
+ <amOnPage url =" {{StorefrontCategoryPage.url(category)}}?product_list_limit={{numOfProductsPerPage}}& product_list_mode={{mode}}& product_list_order={{sortBy}}" stepKey =" onCategoryPage" />
21
+ <waitForPageLoad stepKey =" waitForPageLoad" />
22
+ </actionGroup >
23
+
11
24
<!-- Check the category page -->
12
25
<actionGroup name =" StorefrontCheckCategoryActionGroup" >
13
26
<arguments >
You can’t perform that action at this time.
0 commit comments