Skip to content

Commit 8e0a981

Browse files
Merge pull request #353 from magento-commerce/stability_control
MFTF ^4.3.0 + some build stability improvements
2 parents 01a8752 + 1e96050 commit 8e0a981

4 files changed

+11
-4
lines changed

InventoryAdminUi/Test/Mftf/Data/MsiProductData.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
<data key="notifyQuantity">1</data>
129129
<data key="attribute_set_id">4</data>
130130
<data key="visibility">4</data>
131+
<requiredEntity type="custom_attribute_array">CustomAttributeCategoryIds</requiredEntity>
131132
</entity>
132133
<entity name="SimpleMsiProductWithSKU01234" type="product">
133134
<data key="name" unique="suffix">Simple MSI Product </data>
@@ -141,5 +142,6 @@
141142
<data key="notifyQuantity">1</data>
142143
<data key="attribute_set_id">4</data>
143144
<data key="visibility">4</data>
145+
<requiredEntity type="custom_attribute_array">CustomAttributeCategoryIds</requiredEntity>
144146
</entity>
145147
</entities>

InventoryAdminUi/Test/Mftf/Test/AdminMassActionUnAssignAllProductSourcesFromSimpleProductTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@
5454
<createData entity="SimpleProduct" stepKey="createFirstSimpleProduct">
5555
<requiredEntity createDataKey="createCategory"/>
5656
</createData>
57-
<createData entity="SimpleProduct" stepKey="createSecondSimpleProduct">
57+
<createData entity="SimpleMsiProductWithSKU1234" stepKey="createSecondSimpleProduct">
5858
<requiredEntity createDataKey="createCategory"/>
5959
</createData>
60-
<createData entity="SimpleProduct" stepKey="createThirdSimpleProduct">
60+
<createData entity="SimpleMsiProductWithSKU01234" stepKey="createThirdSimpleProduct">
6161
<requiredEntity createDataKey="createCategory"/>
6262
</createData>
6363
<createData entity="SimpleProduct" stepKey="createFourthSimpleProduct">

InventoryAdminUi/Test/Mftf/Test/AdminValidateInventorySourcesShouldUnassigned.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="AdminValidateInventorySourcesShouldUnassigned">
11+
<test name="AdminValidateInventorySourcesShouldUnassigned" deprecated="This test is a duplicate. Here is the test that does the same a little bit more: AdminMassActionUnAssignAllProductSourcesFromSimpleProductTest.">
1212
<annotations>
1313
<features value="Unassign source from product"/>
1414
<stories value="Unassign source from product"/>
@@ -17,6 +17,11 @@
1717
<severity value="MAJOR"/>
1818
<testCaseId value="AC-2869"/>
1919
<group value="cloud"/>
20+
<group value="msi"/>
21+
<group value="multi_mode"/>
22+
<skip>
23+
<issueId value="DUPLICATE" />
24+
</skip>
2025
</annotations>
2126
<before>
2227
<!--Login to Admin-->

InventoryAdminUi/Test/Mftf/Test/GuestCustomerCreateOrderWithBundleProductSingleStockModeTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<argument name="selector" value="AdminProductGridFilterSection.skuFilter"/>
121121
<argument name="value" value="$$simpleProduct.sku$$"/>
122122
</actionGroup>
123-
<see selector="{{AdminProductGridSection.quantity('1')}}" userInput="1000.0000" stepKey="checkSimpleProductSourceQtyAfterPlaceOrder"/>
123+
<see selector="{{AdminProductGridSection.quantity('1')}}" userInput="{{SimpleProduct.quantity}}" stepKey="checkSimpleProductSourceQtyAfterPlaceOrder"/>
124124
<see selector="{{AdminProductGridSection.productSalableQty('1',_defaultStock.name)}}" userInput="995" stepKey="checkSimpleProductSalableQtyAfterPlaceOrder"/>
125125
</test>
126126
</tests>

0 commit comments

Comments
 (0)