File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
app/code/Magento/Catalog/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +7
-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" defaultValue =" _defaultProduct" />
68
+ </arguments >
69
+ <moveMouseOver selector =" {{StorefrontCategoryProductSection.ProductInfoByName(product.name)}}" stepKey =" moveMouseOverProduct" />
70
+ <dontSeeElement selector =" {{StorefrontCategoryProductSection.ProductAddToCartByName(product.name)}}" stepKey =" checkAddToCartButtonAbsence" />
71
+ </actionGroup >
65
72
<actionGroup name =" StorefrontSwitchCategoryViewToListMode" >
66
73
<click selector =" {{StorefrontCategoryMainSection.modeListButton}}" stepKey =" switchCategoryViewToListMode" />
67
74
<waitForElement selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" time =" 30" stepKey =" waitForCategoryReload" />
You can’t perform that action at this time.
0 commit comments