File tree Expand file tree Collapse file tree 4 files changed +59
-33
lines changed
Config/Test/Mftf/ActionGroup Expand file tree Collapse file tree 4 files changed +59
-33
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 =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataProfileSchema.xsd" >
11
+ <entity name =" CatalogPriceScopeWebsite" type =" catalog_price_config_state" >
12
+ <requiredEntity type =" scope" >scopeWebsite</requiredEntity >
13
+ <requiredEntity type =" default_product_price" >defaultProductPrice</requiredEntity >
14
+ </entity >
15
+ <entity name =" scopeWebsite" type =" scope" >
16
+ <data key =" value" >1</data >
17
+ </entity >
18
+ <entity name =" defaultProductPrice" type =" default_product_price" >
19
+ <data key =" value" >0</data >
20
+ </entity >
21
+
22
+ <entity name =" DefaultConfigCatalogPrice" type =" catalog_price_config_state" >
23
+ <requiredEntity type =" scope" >scopeGlobal</requiredEntity >
24
+ <requiredEntity type =" default_product_price" >defaultProductPrice</requiredEntity >
25
+ </entity >
26
+ <entity name =" scopeGlobal" type =" scope" >
27
+ <data key =" value" >0</data >
28
+ </entity >
29
+ <entity name =" defaultProductPrice" type =" default_product_price" >
30
+ <data key =" value" />
31
+ </entity >
32
+
33
+ </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 =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataOperation.xsd" >
10
+ <operation name =" CatalogPriceConfigState" dataType =" catalog_price_config_state" type =" create" auth =" adminFormKey" url =" /admin/system_config/save/section/catalog/" method =" POST" >
11
+ <object key =" groups" dataType =" catalog_price_config_state" >
12
+ <object key =" price" dataType =" catalog_price_config_state" >
13
+ <object key =" fields" dataType =" catalog_price_config_state" >
14
+ <object key =" scope" dataType =" scope" >
15
+ <field key =" value" >string</field >
16
+ </object >
17
+ <object key =" default_product_price" dataType =" default_product_price" >
18
+ <field key =" value" >string</field >
19
+ </object >
20
+ </object >
21
+ </object >
22
+ </object >
23
+ </operation >
24
+ </operations >
Original file line number Diff line number Diff line change 52
52
<argument name =" customStore" value =" customStoreView" />
53
53
</actionGroup >
54
54
<!-- Set Configuration-->
55
- <actionGroup ref =" CatalogPriceConfigurations" stepKey =" SetCatalogConfigurations" />
56
-
55
+ <createData entity =" CatalogPriceScopeWebsite" stepKey =" paymentMethodsSettingConfig" />
57
56
<!-- Set advanced pricing for all 4 products-->
58
57
<actionGroup ref =" SearchForProductOnBackendActionGroup" stepKey =" searchForSimpleProduct1" >
59
58
<argument name =" product" value =" $$product1$$" />
310
309
<deleteData createDataKey =" product4" stepKey =" deleteProduct4" />
311
310
<deleteData createDataKey =" category" stepKey =" deleteCategory" />
312
311
<deleteData createDataKey =" customer" stepKey =" deleteCustomer" />
313
- <actionGroup ref =" CatalogPriceConfigurations" stepKey =" SetCatalogConfigurations" >
314
- <argument name =" website" value =" Global" />
315
- </actionGroup >
312
+ <createData entity =" DefaultConfigCatalogPrice" stepKey =" defaultConfigCatalogPrice" />
316
313
<actionGroup ref =" AdminDeleteWebsiteActionGroup" stepKey =" DeleteWebsite" >
317
314
<argument name =" websiteName" value =" secondWebsite" />
318
315
</actionGroup >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments