Skip to content

Commit a8e08fe

Browse files
committed
[B2B-3166]: Bulk Company Settings Update (Child Company Grid on Parent Company Page)
- Improving MFTF StorefrontOrderPagerDisplayedTest
1 parent 7822c41 commit a8e08fe

File tree

1 file changed

+27
-21
lines changed

1 file changed

+27
-21
lines changed

app/code/Magento/Sales/Test/Mftf/Test/StorefrontOrderPagerDisplayedTest.xml

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<group value="cloud"/>
2121
</annotations>
2222
<before>
23-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="LoginAsAdmin"/>
23+
<comment userInput="BIC workaround" stepKey="LoginAsAdmin"/>
2424
<!-- Enable Flat rate-->
2525
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
2626
<createData entity="_defaultCategory" stepKey="createCategory"/>
@@ -90,12 +90,18 @@
9090

9191
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
9292

93-
<comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
94-
<comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
93+
<comment userInput="BIC workaround" stepKey="reindex"/>
94+
<comment userInput="BIC workaround" stepKey="flushCache"/>
9595
</before>
9696
<after>
97-
<comment userInput="config:set DisableFlatRateConfigData.path DisableFlatRateConfigData.value" stepKey="disableFlatRate"/>
97+
<comment userInput="BIC workaround" stepKey="disableFlatRate"/>
9898
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
99+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
100+
<argument name="indices" value=""/>
101+
</actionGroup>
102+
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
103+
<argument name="tags" value="full_page"/>
104+
</actionGroup>
99105
<deleteData createDataKey="createProduct01" stepKey="deleteProduct1"/>
100106
<deleteData createDataKey="createProduct02" stepKey="deleteProduct2"/>
101107
<deleteData createDataKey="createProduct03" stepKey="deleteProduct3"/>
@@ -120,19 +126,19 @@
120126

121127
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer" />
122128
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
123-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="logout"/>
129+
<comment userInput="BIC workaround" stepKey="logout"/>
124130
</after>
125131

126132
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginAsCustomer">
127133
<argument name="Customer" value="$$createCustomer$$" />
128134
</actionGroup>
129135

130-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="onCategoryPage"/>
131-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPageLoad"/>
132-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="scrollToLimiter"/>
133-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="selectLimitOnPage"/>
134-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForLoadProducts"/>
135-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="scrollToTopOfPage"/>
136+
<comment userInput="BIC workaround" stepKey="onCategoryPage"/>
137+
<comment userInput="BIC workaround" stepKey="waitForPageLoad"/>
138+
<comment userInput="BIC workaround" stepKey="scrollToLimiter"/>
139+
<comment userInput="BIC workaround" stepKey="selectLimitOnPage"/>
140+
<comment userInput="BIC workaround" stepKey="waitForLoadProducts"/>
141+
<comment userInput="BIC workaround" stepKey="scrollToTopOfPage"/>
136142

137143
<createData entity="CustomerCart" stepKey="createCustomerCart">
138144
<requiredEntity createDataKey="createCustomer"/>
@@ -222,9 +228,9 @@
222228
<requiredEntity createDataKey="createProduct21"/>
223229
</createData>
224230

225-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="onCheckout"/>
226-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="see21Products"/>
227-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="clickNextButton"/>
231+
<comment userInput="BIC workaround" stepKey="onCheckout"/>
232+
<comment userInput="BIC workaround" stepKey="see21Products"/>
233+
<comment userInput="BIC workaround" stepKey="clickNextButton"/>
228234

229235
<createData entity="CustomerAddressInformation" stepKey="addCustomerOrderAddress">
230236
<requiredEntity createDataKey="createCustomerCart"/>
@@ -234,13 +240,13 @@
234240
<requiredEntity createDataKey="createCustomerCart"/>
235241
</updateData>
236242

237-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForSuccess"/>
238-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="grabOrderNumber"/>
239-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="onMyAccount"/>
240-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="clickOnMyOrders"/>
241-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForOrdersLoad"/>
242-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="clickOrderView"/>
243-
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForOrderPageLoad"/>
243+
<comment userInput="BIC workaround" stepKey="waitForSuccess"/>
244+
<comment userInput="BIC workaround" stepKey="grabOrderNumber"/>
245+
<comment userInput="BIC workaround" stepKey="onMyAccount"/>
246+
<comment userInput="BIC workaround" stepKey="clickOnMyOrders"/>
247+
<comment userInput="BIC workaround" stepKey="waitForOrdersLoad"/>
248+
<comment userInput="BIC workaround" stepKey="clickOrderView"/>
249+
<comment userInput="BIC workaround" stepKey="waitForOrderPageLoad"/>
244250

245251
<getData entity="GetOrderData" stepKey="getOrderData">
246252
<requiredEntity createDataKey="createCustomerCart"/>

0 commit comments

Comments
 (0)