File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
app/code/Magento/GiftMessage/Test/Mftf Expand file tree Collapse file tree 2 files changed +51
-0
lines changed 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
+ <entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd" >
11
+ <entity name =" EnableGiftMessageForOrder" type =" gift_message_config_state" >
12
+ <requiredEntity type =" allow_order" >AllowGiftMessageForOrder</requiredEntity >
13
+ </entity >
14
+ <entity name =" AllowGiftMessageForOrder" type =" allow_order" >
15
+ <data key =" value" >1</data >
16
+ </entity >
17
+ <entity name =" DefaultConfigGiftMessageOptions" type =" gift_message_config_state" >
18
+ <requiredEntity type =" allow_order" >OrderDefault</requiredEntity >
19
+ <requiredEntity type =" allow_items" >ItemsDefault</requiredEntity >
20
+ </entity >
21
+ <entity name =" OrderDefault" type =" allow_order" >
22
+ <data key =" value" >0</data >
23
+ </entity >
24
+ <entity name =" ItemsDefault" type =" allow_items" >
25
+ <data key =" value" >0</data >
26
+ </entity >
27
+ </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
+ <operations xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataOperation.xsd" >
10
+ <operation name =" SalesGiftMessageConfigState" dataType =" gift_message_config_state" type =" create" auth =" adminFormKey" url =" /admin/system_config/save/section/sales/" method =" POST" successRegex =" /messages-message-success/" >
11
+ <object key =" groups" dataType =" gift_message_config_state" >
12
+ <object key =" gift_options" dataType =" gift_message_config_state" >
13
+ <object key =" fields" dataType =" gift_message_config_state" >
14
+ <object key =" allow_order" dataType =" allow_order" >
15
+ <field key =" value" >string</field >
16
+ </object >
17
+ <object key =" allow_items" dataType =" allow_items" >
18
+ <field key =" value" >string</field >
19
+ </object >
20
+ </object >
21
+ </object >
22
+ </object >
23
+ </operation >
24
+ </operations >
You can’t perform that action at this time.
0 commit comments