Skip to content

Commit 8457b1e

Browse files
MAGETWO-91542: Product belongs to categories with and without event does not shown
- Added automated test script
1 parent 67c52c6 commit 8457b1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,11 @@
6464

6565
<actionGroup name="StorefrontCheckAddToCartButtonAbsence">
6666
<arguments>
67-
<argument name="product"/>
67+
<argument name="product" defaultValue="_defaultProduct"/>
6868
</arguments>
6969
<moveMouseOver selector="{{StorefrontCategoryProductSection.ProductInfoByName(product.name)}}" stepKey="moveMouseOverProduct" />
7070
<dontSeeElement selector="{{StorefrontCategoryProductSection.ProductAddToCartByName(product.name)}}" stepKey="checkAddToCartButtonAbsence"/>
7171
</actionGroup>
72-
7372
<actionGroup name="StorefrontSwitchCategoryViewToListMode">
7473
<click selector="{{StorefrontCategoryMainSection.modeListButton}}" stepKey="switchCategoryViewToListMode"/>
7574
<waitForElement selector="{{StorefrontCategoryMainSection.CategoryTitle}}" time="30" stepKey="waitForCategoryReload"/>

0 commit comments

Comments
 (0)