File tree 6 files changed +94
-1
lines changed
app/code/Magento/Sales/Test/Mftf
6 files changed +94
-1
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <!--
4
+ /**
5
+ * Copyright © Magento, Inc. All rights reserved.
6
+ * See COPYING.txt for license details.
7
+ */
8
+ -->
9
+
10
+ <entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd" >
12
+
13
+ <entity name =" CreditMemo" type =" CreditMemo" >
14
+ <var key =" quote_id" entityKey =" return" entityType =" CustomerCart" />
15
+ </entity >
16
+
17
+ </entities >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <!--
4
+ /**
5
+ * Copyright © Magento, Inc. All rights reserved.
6
+ * See COPYING.txt for license details.
7
+ */
8
+ -->
9
+
10
+ <entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd" >
12
+
13
+ <entity name =" Invoice" type =" Invoice" >
14
+ <var key =" quote_id" entityKey =" return" entityType =" CustomerCart" />
15
+ </entity >
16
+
17
+ </entities >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <!--
4
+ /**
5
+ * Copyright © Magento, Inc. All rights reserved.
6
+ * See COPYING.txt for license details.
7
+ */
8
+ -->
9
+
10
+ <entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
11
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd" >
12
+
13
+ <entity name =" Shipment" type =" Shipment" >
14
+ <var key =" quote_id" entityKey =" return" entityType =" CustomerCart" />
15
+ </entity >
16
+
17
+ </entities >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <operations xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataOperation.xsd" >
11
+ <operation name =" CreateCreditMemo" dataType =" CreditMemo" type =" create" auth =" adminOauth" url =" V1/order/{return}/refund" method =" POST" >
12
+ <contentType >application/json</contentType >
13
+ <object key =" cartItem" dataType =" CartItem" >
14
+ <field key =" quote_id" >string</field >
15
+ </object >
16
+ </operation >
17
+ </operations >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <operations xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataOperation.xsd" >
11
+ <operation name =" CreateShipment" dataType =" Shipment" type =" create" auth =" adminOauth" url =" V1/order/{return}/ship" method =" POST" >
12
+ <contentType >application/json</contentType >
13
+ <object key =" cartItem" dataType =" CartItem" >
14
+ <field key =" quote_id" >string</field >
15
+ </object >
16
+ </operation >
17
+ </operations >
Original file line number Diff line number Diff line change 35
35
</createData >
36
36
<updateData createDataKey =" createGuestCart" entity =" GuestOrderPaymentMethod" stepKey =" sendGuestPaymentInformation" >
37
37
<requiredEntity createDataKey =" createGuestCart" />
38
- </updateData >
38
+ </updateData >
39
39
40
40
<createData entity =" Invoice" stepKey =" invoiceOrder" >
41
41
<requiredEntity createDataKey =" createGuestCart" />
42
+ </createData >
43
+
44
+ <createData entity =" Shipment" stepKey =" shipOrder" >
45
+ <requiredEntity createDataKey =" createGuestCart" />
46
+ </createData >
47
+
48
+ <createData entity =" CreditMemo" stepKey =" refundMemo" >
49
+ <requiredEntity createDataKey =" createGuestCart" />
42
50
</createData >
43
51
44
52
</before >
You can’t perform that action at this time.
0 commit comments