Skip to content

Commit ec2dea5

Browse files
committed
Merge remote-tracking branch 'origin/MC-41981' into MC-41981
2 parents 0a620ca + dd53b59 commit ec2dea5

File tree

4 files changed

+12
-384
lines changed

4 files changed

+12
-384
lines changed

app/code/Magento/Catalog/Test/Mftf/Data/SimpleProductOptionData.xml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -17,37 +17,4 @@
1717
<data key="option_0_price_type">Percent</data>
1818
<data key="option_0_sku" unique="suffix">sku_drop_down_row_1</data>
1919
</entity>
20-
21-
<!-- Simple product option one -->
22-
<entity name="simpleProductCustomizableOptionOne">
23-
<data key="title">Test 1</data>
24-
<data key="type">Drop-down</data>
25-
<data key="is_required">1</data>
26-
<data key="option_1_title">X</data>
27-
<data key="option_1_price">10.00</data>
28-
<data key="option_1_price_type">fixed</data>
29-
</entity>
30-
31-
<!-- Simple product file option two -->
32-
<entity name="simpleProductCustomizableOptionTwo">
33-
<data key="title">File</data>
34-
<data key="type">file</data>
35-
<data key="is_require">true</data>
36-
<data key="sort_order">2</data>
37-
<data key="option_2_price">0.00</data>
38-
<data key="option_2_price_type">fixed</data>
39-
<data key="option_2_file_extension">imed</data>
40-
<data key="option_2_image_size_x">0</data>
41-
<data key="option_2_image_size_y">0</data>
42-
</entity>
43-
44-
<!-- Simple product Option three -->
45-
<entity name="simpleProductCustomizableOptionThree">
46-
<data key="title">Test 2</data>
47-
<data key="type">Drop-down</data>
48-
<data key="is_required">1</data>
49-
<data key="option_3_title">D</data>
50-
<data key="option_3_price">10.00</data>
51-
<data key="option_3_price_type">fixed</data>
52-
</entity>
5320
</entities>

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

Lines changed: 0 additions & 168 deletions
This file was deleted.

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
<title value="Make reorder as customer on frontend"/>
1414
<description value="Make reorder as customer on Frontend with simple product custom options"/>
1515
<severity value="CRITICAL"/>
16-
<testCaseId value=""/>
16+
<testCaseId value="MC-42899"/>
1717
<useCaseId value="MC-41981" />
1818
<group value="sales"/>
1919
</annotations>
2020

2121
<before>
22-
<!-- Login As Admin -->
22+
<!-- Login As Admin -->
2323
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2424
<!-- Create Customer -->
2525
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
@@ -31,8 +31,8 @@
3131

3232
<after>
3333
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
34-
<deleteData stepKey="deleteDefaultCategory" createDataKey="initialCategoryEntity"/>
35-
<deleteData stepKey="deleteSimpleProduct" createDataKey="initialSimpleProduct"/>
34+
<deleteData createDataKey="initialCategoryEntity" stepKey="deleteDefaultCategory"/>
35+
<deleteData createDataKey="initialSimpleProduct" stepKey="deleteSimpleProduct"/>
3636
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
3737
</after>
3838

@@ -55,7 +55,7 @@
5555
<argument name="optionValue" value="ProductOptionValueDropdown1"/>
5656
</actionGroup>
5757

58-
<!-- Add Custom file option -->
58+
<!-- Add Custom file option -->
5959
<actionGroup ref="AddProductCustomOptionFileActionGroup" stepKey="addFileOption">
6060
<argument name="option" value="ProductOptionFile"/>
6161
</actionGroup>
@@ -84,22 +84,22 @@
8484
<argument name="productUrl" value="$$initialSimpleProduct.custom_attributes[url_key]$$"/>
8585
</actionGroup>
8686

87-
<!--Select Option From First DropDown option -->
87+
<!-- Select Option From First DropDown option -->
8888
<actionGroup ref="StorefrontProductPageSelectDropDownOptionValueActionGroup" stepKey="selectFirstOption">
8989
<argument name="attributeLabel" value="{{ProductOptionDropDown.title}}"/>
9090
<argument name="optionLabel" value="{{ProductOptionValueDropdown1.title}}"/>
9191
</actionGroup>
9292

93-
<!-- Attach file option-->
93+
<!-- Attach file option -->
9494
<actionGroup ref="StorefrontAttachOptionFileActionGroup" stepKey="selectAndAttachFile"/>
9595

96-
<!--Select Option From Second DropDown option -->
96+
<!-- Select Option From Second DropDown option -->
9797
<actionGroup ref="StorefrontProductPageSelectDropDownOptionValueActionGroup" stepKey="selectSecondOption">
9898
<argument name="attributeLabel" value="{{ProductOptionDropDownWithLongValuesTitle.title}}"/>
9999
<argument name="optionLabel" value="{{ProductOptionValueDropdown2.title}}"/>
100100
</actionGroup>
101101

102-
<!-- Add Product to Card -->
102+
<!-- Add Product to Card -->
103103
<actionGroup ref="StorefrontAddProductToCartActionGroup" stepKey="addProductToCart">
104104
<argument name="product" value="$$initialSimpleProduct$$"/>
105105
<argument name="productCount" value="1"/>
@@ -112,20 +112,20 @@
112112
<!-- Log out from storefront as Customer -->
113113
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogOut"/>
114114

115-
<!-- Again Login As Admin -->
115+
<!-- Again Login As Admin -->
116116
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdminForSubmitShipment"/>
117117

118118
<!-- Open order -->
119119
<actionGroup ref="OpenOrderByIdActionGroup" stepKey="openOrderForCreatingShipment">
120120
<argument name="orderId" value="{$grabOrderNumber}"/>
121121
</actionGroup>
122-
<!--Create Shipment for the order-->
122+
<!-- Create Shipment for the order -->
123123
<actionGroup ref="GoToShipmentIntoOrderActionGroup" stepKey="startCreateShipment"/>
124124
<actionGroup ref="SubmitShipmentIntoOrderActionGroup" stepKey="submitShipment"/>
125125

126126
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutAdmin"/>
127127

128-
<!-- Login to storefront as Customer for Reorder-->
128+
<!-- Login to storefront as Customer for Reorder -->
129129
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="customerLoginForReorder">
130130
<argument name="Customer" value="$$createCustomer$$"/>
131131
</actionGroup>

0 commit comments

Comments
 (0)