Skip to content

Commit 49027ed

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.
1 parent 7bd7be3 commit 49027ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
<!-- "Add to Cart" any product-->
3737
<click selector="{{StorefrontProductPageSection.addToCartBtn}}" stepKey="addToCart"/>
38-
<waitForElementVisible selector="{{StorefrontProductPageSection.errorMsg}}" time="30" stepKey="assertErrorMessage"/>
38+
<see stepKey="assertErrorMessage" userInput="Your session has expired"/>
3939
<after>
4040
<!--Delete created product-->
4141
<deleteData createDataKey="createSimpleProduct" stepKey="deleteProduct"/>

0 commit comments

Comments
 (0)