File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/CatalogInventory/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 62
62
<!-- Mouse Hover Product On Category Page-->
63
63
<actionGroup ref =" StorefrontHoverProductOnCategoryPageActionGroup" stepKey =" hoverProduct" />
64
64
<!-- Select Add to cart-->
65
- <waitForElementClickable selector =" {{StorefrontCategoryMainSection.addToCartProductBySku($$simpleProductOne.sku$$) }}" stepKey =" waitForAddToCartButton" />
66
- <click selector =" {{StorefrontCategoryMainSection.addToCartProductBySku($$simpleProductOne.sku$$) }}" stepKey =" toCategory" />
65
+ <waitForElementClickable selector =" {{StorefrontCategoryMainSection.AddToCartBtn }}" stepKey =" waitForAddToCartButton" />
66
+ <click selector =" {{StorefrontCategoryMainSection.AddToCartBtn }}" stepKey =" toCategory" />
67
67
<waitForElementVisible selector =" {{StorefrontProductPageSection.errorMsg}}" stepKey =" wait" />
68
68
<!-- Assert the Error Message-->
69
69
<see selector =" {{StorefrontProductPageSection.errorMsg}}" userInput =" Product that you are trying to add is not available." stepKey =" seeErrorMessage" />
You can’t perform that action at this time.
0 commit comments