Skip to content

Commit 687f805

Browse files
committed
MC-65: Admin should be able to create a catalog price rule applied as a percentage of original (for simple product)
- Delete unecessary CLI commands. Affects MC-60, MC-65, MC-69, and MC-93
1 parent 9955980 commit 687f805

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
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"/>
48-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
4947
<amOnPage url="$$createCategory.name$$.html" stepKey="goToCategoryPage"/>
5048
<waitForPageLoad stepKey="waitForCategory"/>
5149
<see stepKey="seeOldPrice" selector="{{StorefrontCategoryProductSection.ProductOldPriceByNumber('1')}}" userInput="$$createProduct.price$$"/>
@@ -104,8 +102,6 @@
104102
</after>
105103

106104
<!-- Go to category page and make sure that all of the prices are correct -->
107-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
108-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
109105
<amOnPage url="$$createCategory.name$$.html" stepKey="goToCategoryPage"/>
110106
<waitForPageLoad stepKey="waitForCategory"/>
111107
<see stepKey="seeOldPrice" selector="{{StorefrontCategoryProductSection.ProductOldPriceByNumber('1')}}" userInput="$$createProduct.price$$"/>
@@ -164,8 +160,6 @@
164160
</after>
165161

166162
<!-- Go to category page and make sure that all of the prices are correct -->
167-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
168-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
169163
<amOnPage url="$$createCategory.name$$.html" stepKey="goToCategoryPage"/>
170164
<waitForPageLoad stepKey="waitForCategory"/>
171165
<see stepKey="seeOldPrice" selector="{{StorefrontCategoryProductSection.ProductOldPriceByNumber('1')}}" userInput="$$createProduct.price$$"/>
@@ -224,8 +218,6 @@
224218
</after>
225219

226220
<!-- Go to category page and make sure that all of the prices are correct -->
227-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
228-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
229221
<amOnPage url="$$createCategory.name$$.html" stepKey="goToCategoryPage"/>
230222
<waitForPageLoad stepKey="waitForCategory"/>
231223
<see stepKey="seeOldPrice" selector="{{StorefrontCategoryProductSection.ProductOldPriceByNumber('1')}}" userInput="$$createProduct.price$$"/>

0 commit comments

Comments
 (0)