Skip to content

Commit f090c7e

Browse files
committed
ACP2E-1445: Customer data in Local Storage not reset when session file lost
- Fixed the CR comments.
1 parent 5377513 commit f090c7e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,8 @@
4141
<argument name="productUrl" value="$$createSimpleProduct.custom_attributes[url_key]$$"/>
4242
</actionGroup>
4343
<actionGroup ref="StorefrontClickAddToCartOnProductPageActionGroup" stepKey="addToCartFromStorefrontProductPage"/>
44-
<helper class="Magento\Catalog\Test\Mftf\Helper\LocalFileAssertions" method="deleteDirectory" stepKey="deleteLocalCacheDirectory">
45-
<argument name="path">var/session</argument>
46-
</helper>
47-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCache">
48-
<argument name="tags" value=""/>
49-
</actionGroup>
44+
<!--Reset cookies and refresh the page-->
45+
<resetCookie userInput="PHPSESSID" stepKey="resetCookieForCart"/>
5046
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
5147
<actionGroup ref="StorefrontCheckThatCartIsEmptyActionGroup" stepKey="checkThatCartIsEmpty"/>
5248
</test>

0 commit comments

Comments
 (0)