Skip to content

Commit 7fa4a1d

Browse files
committed
MC-31444: [FT] [MFTF] [2.4] Fix flaky test StorefrontTaxInformationInShoppingCartForCustomerVirtualQuoteTest (MC-41933)
1 parent 32525f6 commit 7fa4a1d

4 files changed

+6
-12
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<description value="Tax information are updating/recalculating on fly in shopping cart for Customer with default addresses (physical quote)"/>
1717
<severity value="CRITICAL"/>
1818
<useCaseId value="MC-294"/>
19-
<testCaseId value="MC-16526"/>
19+
<testCaseId value="MC-28586"/>
2020
<group value="checkout"/>
2121
<group value="tax"/>
2222
<group value="weee"/>
@@ -36,10 +36,8 @@
3636
<!-- Store>Configuration; Sales>Tax FPT Enable -->
3737
<createData entity="WeeeConfigEnable" stepKey="enableFPT"/>
3838
<!-- Simple product is created Price = 10; FPT United States/California/10,United States/New York/20 -->
39-
<createData entity="_defaultCategory" stepKey="createCategory"/>
40-
<createData entity="SimpleProduct" stepKey="createSimpleProduct">
39+
<createData entity="SimpleProduct2" stepKey="createSimpleProduct">
4140
<field key="price">10.00</field>
42-
<requiredEntity createDataKey="createCategory"/>
4341
</createData>
4442
<!-- Customer is created with default addresses: -->
4543
<createData entity="Simple_US_Customer_CA" stepKey="createCustomer"/>
@@ -71,7 +69,6 @@
7169
<createData entity="DefaultTaxConfig" stepKey="defaultTaxConfiguration"/>
7270
<createData entity="WeeeConfigDisable" stepKey="disableFPT"/>
7371
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
74-
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
7572
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
7673
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToProductIndex"/>
7774
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearProductsGridFilters"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<description value="Tax information are updating/recalculating on fly in shopping cart for Customer with default addresses (virtual quote)"/>
1717
<severity value="CRITICAL"/>
1818
<useCaseId value="MC-294"/>
19-
<testCaseId value="MC-16525"/>
19+
<testCaseId value="MC-28585"/>
2020
<group value="checkout"/>
2121
<group value="tax"/>
2222
<group value="weee"/>

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<description value="Tax information are updating/recalculating on fly in shopping cart for Guest (physical quote)"/>
1717
<severity value="CRITICAL"/>
1818
<useCaseId value="MC-294"/>
19-
<testCaseId value="MC-16538"/>
19+
<testCaseId value="MC-28592"/>
2020
<group value="checkout"/>
2121
<group value="tax"/>
2222
<group value="weee"/>
@@ -36,10 +36,8 @@
3636
<!-- Store>Configuration; Sales>Tax FPT Enable -->
3737
<createData entity="WeeeConfigEnable" stepKey="enableFPT"/>
3838
<!-- Simple product is created Price = 10; FPT United States/California/10,United States/New York/20 -->
39-
<createData entity="_defaultCategory" stepKey="createCategory"/>
40-
<createData entity="SimpleProduct" stepKey="createSimpleProduct">
39+
<createData entity="SimpleProduct2" stepKey="createSimpleProduct">
4140
<field key="price">10.00</field>
42-
<requiredEntity createDataKey="createCategory"/>
4341
</createData>
4442
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
4543
<actionGroup ref="GoToProductPageViaIDActionGroup" stepKey="openProductEditPage">
@@ -66,7 +64,6 @@
6664
<deleteData createDataKey="createProductFPTAttribute" stepKey="deleteProductFPTAttribute"/>
6765
<createData entity="DefaultTaxConfig" stepKey="defaultTaxConfiguration"/>
6866
<createData entity="WeeeConfigDisable" stepKey="disableFPT"/>
69-
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
7067
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
7168
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToProductIndex"/>
7269
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearProductsGridFilters"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<description value="Tax information are updating/recalculating on fly in shopping cart for Guest (virtual quote)"/>
1717
<severity value="CRITICAL"/>
1818
<useCaseId value="MC-294"/>
19-
<testCaseId value="MC-11946"/>
19+
<testCaseId value="MC-26557"/>
2020
<group value="checkout"/>
2121
<group value="tax"/>
2222
<group value="weee"/>

0 commit comments

Comments
 (0)