Skip to content

Commit fa11981

Browse files
committed
MC-65: Admin should be able to create a catalog price rule applied as a percentage of original (for simple product)
- Reindex for ee stability
1 parent b07dfd8 commit fa11981

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/CatalogRule/Test/AdminCreateCatalogPriceRuleTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
</after>
4545

4646
<!-- Go to category page and make sure that all of the prices are correct -->
47+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
4748
<amOnPage url="$$createCategory.name$$.html" stepKey="goToCategoryPage"/>
4849
<waitForPageLoad stepKey="waitForCategory"/>
4950
<see stepKey="seeOldPrice" selector="{{StorefrontCategoryProductSection.ProductOldPriceByNumber('1')}}" userInput="$$createProduct.price$$"/>
@@ -102,6 +103,7 @@
102103
</after>
103104

104105
<!-- Go to category page and make sure that all of the prices are correct -->
106+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
105107
<amOnPage url="$$createCategory.name$$.html" stepKey="goToCategoryPage"/>
106108
<waitForPageLoad stepKey="waitForCategory"/>
107109
<see stepKey="seeOldPrice" selector="{{StorefrontCategoryProductSection.ProductOldPriceByNumber('1')}}" userInput="$$createProduct.price$$"/>
@@ -160,6 +162,7 @@
160162
</after>
161163

162164
<!-- Go to category page and make sure that all of the prices are correct -->
165+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
163166
<amOnPage url="$$createCategory.name$$.html" stepKey="goToCategoryPage"/>
164167
<waitForPageLoad stepKey="waitForCategory"/>
165168
<see stepKey="seeOldPrice" selector="{{StorefrontCategoryProductSection.ProductOldPriceByNumber('1')}}" userInput="$$createProduct.price$$"/>
@@ -218,6 +221,7 @@
218221
</after>
219222

220223
<!-- Go to category page and make sure that all of the prices are correct -->
224+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
221225
<amOnPage url="$$createCategory.name$$.html" stepKey="goToCategoryPage"/>
222226
<waitForPageLoad stepKey="waitForCategory"/>
223227
<see stepKey="seeOldPrice" selector="{{StorefrontCategoryProductSection.ProductOldPriceByNumber('1')}}" userInput="$$createProduct.price$$"/>

0 commit comments

Comments
 (0)