Skip to content

Commit 2bfc6fd

Browse files
committed
MC-18719: private cookie version increments each post request
1 parent 5a4e583 commit 2bfc6fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/code/Magento/Quote/Test/Mftf/Test/StorefrontGuestCheckoutDisabledProductTest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
<requiredEntity createDataKey="createConfigProduct"/>
7474
<requiredEntity createDataKey="createConfigChildProduct2"/>
7575
</createData>
76+
<magentoCLI command="config:set customer/online_customers/section_data_lifetime 1"
77+
stepKey="setConfigForCartLifetime"/>
78+
<magentoCLI command="cache:flush" stepKey="flushCache" />
7679
</before>
7780
<after>
7881
<deleteData createDataKey="createSimpleProduct" stepKey="deleteProduct"/>
@@ -119,6 +122,7 @@
119122
<reloadPage stepKey="reloadPage"/>
120123
<waitForPageLoad stepKey="waitForCheckoutPageReload"/>
121124
<click selector="{{StorefrontMiniCartSection.show}}" stepKey="clickMiniCart"/>
125+
<wait time="60" stepKey="waitForCartToBeUpdated"/>
122126
<dontSeeElement selector="{{StorefrontMiniCartSection.quantity}}" stepKey="dontSeeCartItem"/>
123127
<!-- Add simple product to shopping cart -->
124128
<amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct2.name$$)}}" stepKey="amOnSimpleProductPage2"/>
@@ -146,6 +150,7 @@
146150
<reloadPage stepKey="reloadPage2"/>
147151
<waitForPageLoad stepKey="waitForCheckoutPageReload2"/>
148152
<click selector="{{StorefrontMiniCartSection.show}}" stepKey="clickMiniCart2"/>
153+
<wait time="60" stepKey="waitForCartToBeUpdated2"/>
149154
<dontSeeElement selector="{{StorefrontMiniCartSection.quantity}}" stepKey="dontSeeCartItem2"/>
150155
</test>
151156
</tests>

0 commit comments

Comments
 (0)