Skip to content

Commit 76b0081

Browse files
committed
MQE-1993:Refactor MFTF tests/actionGroups using <executeInSelenium>
removed new references for DeleteAllCatalogPriceRuleActionGroup
1 parent e25ddf0 commit 76b0081

5 files changed

+3
-10
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
<!--Create product-->
2525
<createData entity="SimpleProduct2" stepKey="createSimpleProductApi"/>
2626
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
27-
<actionGroup ref="AdminCatalogPriceRuleDeleteAllActionGroup" stepKey="deleteAllCatalogPriceRule"/>
2827
<!--Create the catalog price rule -->
2928
<createData entity="CatalogRuleToPercent" stepKey="createCatalogRule"/>
3029
<!--Create order via API-->
@@ -44,7 +43,9 @@
4443

4544
<after>
4645
<deleteData createDataKey="createSimpleProductApi" stepKey="deleteSimpleProductApi"/>
47-
<actionGroup ref="AdminCatalogPriceRuleDeleteAllActionGroup" stepKey="deleteAllCatalogPriceRule"/>
46+
<actionGroup ref="RemoveCatalogPriceRuleActionGroup" stepKey="deleteCatalogPriceRule">
47+
<argument name="ruleName" value="{{CatalogRuleToPercent.name}}"/>
48+
</actionGroup>
4849
<actionGroup ref="logout" stepKey="logoutFromAdmin"/>
4950
</after>
5051

app/code/Magento/Weee/Test/Mftf/Test/StorefrontFPTTaxInformationInShoppingCartForCustomerPhysicalQuoteTest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@
5656
<argument name="valueForFPT" value="20"/>
5757
</actionGroup>
5858
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
59-
<!-- Delete all catalog price rules that can (and actually do) affect this test-->
60-
<actionGroup ref="AdminCatalogPriceRuleDeleteAllActionGroup" stepKey="deleteAllCatalogPriceRule"/>
6159
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexBrokenIndices"/>
6260
</before>
6361

app/code/Magento/Weee/Test/Mftf/Test/StorefrontFPTTaxInformationInShoppingCartForCustomerVirtualQuoteTest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
<createData entity="Simple_US_Customer_NY" stepKey="createCustomer"/>
4242

4343
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
44-
<!-- Delete all catalog price rules that can (and actually do) affect this test-->
45-
<actionGroup ref="AdminCatalogPriceRuleDeleteAllActionGroup" stepKey="deleteAllCatalogPriceRule"/>
4644
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexBrokenIndices"/>
4745
</before>
4846

app/code/Magento/Weee/Test/Mftf/Test/StorefrontFPTTaxInformationInShoppingCartForGuestPhysicalQuoteTest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
<argument name="valueForFPT" value="20"/>
5555
</actionGroup>
5656
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
57-
<!-- Delete all catalog price rules that can (and actually do) affect this test-->
58-
<actionGroup ref="AdminCatalogPriceRuleDeleteAllActionGroup" stepKey="deleteAllCatalogPriceRule"/>
5957
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexBrokenIndices"/>
6058
</before>
6159

app/code/Magento/Weee/Test/Mftf/Test/StorefrontFPTTaxInformationInShoppingCartForGuestVirtualQuoteTest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
</createData>
4040

4141
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
42-
<!-- Delete all catalog price rules that can (and actually do) affect this test-->
43-
<actionGroup ref="AdminCatalogPriceRuleDeleteAllActionGroup" stepKey="deleteAllCatalogPriceRule"/>
4442
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexBrokenIndices"/>
4543
</before>
4644

0 commit comments

Comments
 (0)