Skip to content

Commit 41d1922

Browse files
committed
Merge branch 'MC-175' into RE-develop
2 parents 656f03a + 17fbfb5 commit 41d1922

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/StorefrontCategoryActionGroup.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
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}}&amp;product_list_mode={{mode}}&amp;product_list_order={{sortBy}}" stepKey="onCategoryPage"/>
21+
<waitForPageLoad stepKey="waitForPageLoad"/>
22+
</actionGroup>
23+
1124
<!-- Check the category page -->
1225
<actionGroup name="StorefrontCheckCategoryActionGroup">
1326
<arguments>

0 commit comments

Comments
 (0)