File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
app/code/Magento/Quote/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 73
73
<requiredEntity createDataKey =" createConfigProduct" />
74
74
<requiredEntity createDataKey =" createConfigChildProduct2" />
75
75
</createData >
76
+ <magentoCLI command =" config:set customer/online_customers/section_data_lifetime 1"
77
+ stepKey =" setConfigForCartLifetime" />
78
+ <magentoCLI command =" cache:flush" stepKey =" flushCache" />
76
79
</before >
77
80
<after >
78
81
<deleteData createDataKey =" createSimpleProduct" stepKey =" deleteProduct" />
119
122
<reloadPage stepKey =" reloadPage" />
120
123
<waitForPageLoad stepKey =" waitForCheckoutPageReload" />
121
124
<click selector =" {{StorefrontMiniCartSection.show}}" stepKey =" clickMiniCart" />
125
+ <wait time =" 60" stepKey =" waitForCartToBeUpdated" />
122
126
<dontSeeElement selector =" {{StorefrontMiniCartSection.quantity}}" stepKey =" dontSeeCartItem" />
123
127
<!-- Add simple product to shopping cart -->
124
128
<amOnPage url =" {{StorefrontProductPage.url($$createSimpleProduct2.name$$)}}" stepKey =" amOnSimpleProductPage2" />
146
150
<reloadPage stepKey =" reloadPage2" />
147
151
<waitForPageLoad stepKey =" waitForCheckoutPageReload2" />
148
152
<click selector =" {{StorefrontMiniCartSection.show}}" stepKey =" clickMiniCart2" />
153
+ <wait time =" 60" stepKey =" waitForCartToBeUpdated2" />
149
154
<dontSeeElement selector =" {{StorefrontMiniCartSection.quantity}}" stepKey =" dontSeeCartItem2" />
150
155
</test >
151
156
</tests >
You can’t perform that action at this time.
0 commit comments