Skip to content

Commit 5702c3a

Browse files
author
Mariana Lashch
committed
MAGETWO-96379: Cart Price Rule grid count and pagination is wrong
- fix CheckTierPricingOfProductsTest
1 parent a1c067a commit 5702c3a

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/CheckTierPricingOfProductsTest.xml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@
108108
</actionGroup>
109109
<actionGroup ref="ClearProductsFilterActionGroup" stepKey="ClearProductsFilterActionGroup"/>
110110

111+
<!--Flush cache-->
112+
<magentoCLI command="cache:flush" stepKey="cleanCache"/>
113+
114+
111115
<!--Edit customer info-->
112116
<actionGroup ref="OpenEditCustomerFromAdminActionGroup" stepKey="OpenEditCustomerFrom">
113117
<argument name="customer" value="$$customer$$"/>
@@ -318,13 +322,17 @@
318322
<deleteData createDataKey="category" stepKey="deleteCategory"/>
319323
<deleteData createDataKey="customer" stepKey="deleteCustomer"/>
320324
<createData entity="DefaultConfigCatalogPrice" stepKey="defaultConfigCatalogPrice"/>
321-
<actionGroup ref="AdminDeleteWebsiteActionGroup" stepKey="DeleteWebsite">
322-
<argument name="websiteName" value="secondWebsite"/>
323-
</actionGroup>
324325
<actionGroup ref="DeleteCartPriceRuleByName" stepKey="cleanUpRule">
325326
<argument name="ruleName" value="ship"/>
326327
</actionGroup>
328+
<actionGroup ref="AdminDeleteWebsiteActionGroup" stepKey="DeleteWebsite">
329+
<argument name="websiteName" value="secondWebsite"/>
330+
</actionGroup>
327331
<actionGroup ref="logout" stepKey="logout"/>
332+
333+
<!--Do reindex and flush cache-->
334+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
335+
<magentoCLI command="cache:flush" stepKey="flushCache"/>
328336
</after>
329337
</test>
330338
</tests>

0 commit comments

Comments
 (0)