Skip to content

Commit cf0a695

Browse files
author
Stas Puga
committed
MAGETWO-96249: Verify that Gift Wrapping can be applied on item level
1 parent ace297a commit cf0a695

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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>

0 commit comments

Comments
 (0)