File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Checkout/view/frontend/templates/cart Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 30
30
</a>
31
31
<?php if ($ block ->getIsNeedToDisplaySideBar ()):?>
32
32
<div class="block block-minicart"
33
+ session="<?= session_save_path () ?> "
33
34
data-role="dropdownDialog"
34
35
data-mage-init='{"dropdownDialog":{
35
36
"appendTo":"[data-block=minicart]",
Original file line number Diff line number Diff line change 41
41
<argument name =" productUrl" value =" $$createSimpleProduct.custom_attributes[url_key]$$" />
42
42
</actionGroup >
43
43
<actionGroup ref =" StorefrontClickAddToCartOnProductPageActionGroup" stepKey =" addToCartFromStorefrontProductPage" />
44
- <!-- Reset cookies and refresh the page-->
45
- <resetCookie userInput =" PHPSESSID" stepKey =" resetCookieForCart" />
44
+ <helper class =" Magento\Catalog\Test\Mftf\Helper\LocalFileAssertions" method =" deleteDirectory" stepKey =" deleteLocalCacheDirectory" >
45
+ <argument name =" path" >var/session/*</argument >
46
+ </helper >
47
+ <helper class =" Magento\Catalog\Test\Mftf\Helper\LocalFileAssertions" method =" assertDirectoryExists" stepKey =" assertVarSessionFolderExists" >
48
+ <argument name =" path" >var/session</argument >
49
+ </helper >
50
+ <actionGroup ref =" CliCacheFlushActionGroup" stepKey =" flushCache" >
51
+ <argument name =" tags" value =" " />
52
+ </actionGroup >
46
53
<actionGroup ref =" ReloadPageActionGroup" stepKey =" reloadPage" />
47
54
<actionGroup ref =" StorefrontCheckThatCartIsEmptyActionGroup" stepKey =" checkThatCartIsEmpty" />
48
55
</test >
You can’t perform that action at this time.
0 commit comments