Skip to content

Commit fdc446e

Browse files
MAGETWO-66666: Adding a product to cart from category page with an expired session does not allow product to be added
- Updated automated test. Renamed Action Group.
1 parent fab1ffa commit fdc446e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontAddProductToCardActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<see userInput="You saved the product." stepKey="seeSaveConfirmation"/>
3232
</actionGroup>
3333

34-
<actionGroup name="FindAndAddProductToCardActionGroup">
34+
<actionGroup name="FindAndAddProductToCardActGr">
3535
<click selector="{{StorefrontAddProductToCartSection.addToCartBtn}}" stepKey="addToCart"/>
3636
<waitForElementVisible selector="{{StorefrontProductPageSection.successMsg}}" time="30" stepKey="waitForProductAdded"/>
3737
<click selector="{{StorefrontAddProductToCartSection.showCard}}" stepKey="clickToOpenCard"/>

app/code/Magento/Customer/Test/Mftf/Test/AddingProductWithExpiredSessionTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
delete_cookie('form_key');" stepKey="removeCookies" after="waitForPageLoad"/>
3737

3838
<!-- "Add to Cart" any product-->
39-
<actionGroup ref="FindAndAddProductToCardActionGroup" stepKey="addProductToCard"/>
39+
<actionGroup ref="FindAndAddProductToCardActGr" stepKey="addProductToCard"/>
4040

4141
<after>
4242
<!--Delete created product-->

0 commit comments

Comments
 (0)