File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
app/code/Magento/Catalog/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 62
62
<seeElement selector =" {{StorefrontCategoryProductSection.ProductAddToCartByName(product.name)}}" stepKey =" AssertAddToCart" />
63
63
</actionGroup >
64
64
65
+ <actionGroup name =" StorefrontCheckAddToCartButtonAbsence" >
66
+ <arguments >
67
+ <argument name =" product" />
68
+ </arguments >
69
+ <moveMouseOver selector =" {{StorefrontCategoryProductSection.ProductInfoByName(product.name)}}" stepKey =" moveMouseOverProduct" />
70
+ <dontSeeElement selector =" {{StorefrontCategoryProductSection.ProductAddToCartByName(product.name)}}" stepKey =" checkAddToCartButtonAbsence" />
71
+ </actionGroup >
72
+
65
73
<actionGroup name =" StorefrontSwitchCategoryViewToListMode" >
66
74
<click selector =" {{StorefrontCategoryMainSection.modeListButton}}" stepKey =" switchCategoryViewToListMode" />
67
75
<waitForElement selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" time =" 30" stepKey =" waitForCategoryReload" />
You can’t perform that action at this time.
0 commit comments