File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Controller/Adminhtml/Product/Attribute
Test/Mftf/Test/CreateProductAttributeEntityTest Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ public function execute()
271
271
if (array_key_exists ('reset_is-default_option ' , $ data ) && $ data ['reset_is-default_option ' ]) {
272
272
unset($ data ['reset_is-default_option ' ]);
273
273
$ data ['default_value ' ] = null ;
274
- } elseif (isset ($ data ['default ' ])) {
274
+ } elseif (isset ($ data ['default ' ])) {
275
275
$ data ['default_value ' ] = implode (", " , $ data ['default ' ]);
276
276
}
277
277
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
- /**
4
- * Copyright © Magento, Inc. All rights reserved.
5
- * See COPYING.txt for license details .
6
- */
3
+ /**
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved .
6
+ */
7
7
-->
8
8
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi:noNamespaceSchemaLocation=" urn:magento:mftf:Test/etc/testSchema.xsd" >
53
53
<argument name =" frontName" value =" {{multiselectProductAttribute.option1_frontend}}" />
54
54
<argument name =" row" value =" 1" />
55
55
</actionGroup >
56
- <actionGroup ref =" CreateAttributeDropdownNthOptionActionGroup " stepKey =" createOption2" >
56
+ <actionGroup ref =" CreateAttributeDropdownNthOptionAsDefaultActionGroup " stepKey =" createOption2" >
57
57
<argument name =" adminName" value =" {{multiselectProductAttribute.option2_admin}}" />
58
58
<argument name =" frontName" value =" {{multiselectProductAttribute.option2_frontend}}" />
59
59
<argument name =" row" value =" 2" />
80
80
<dontSeeCheckboxIsChecked stepKey =" dontSeeOption1Default" selector =" {{AttributePropertiesSection.dropdownNthOptionIsDefault('1')}}" />
81
81
<seeInField stepKey =" seeOption2Admin" selector =" {{AttributePropertiesSection.dropdownNthOptionAdmin('2')}}" userInput =" {{multiselectProductAttribute.option2_admin}}" />
82
82
<seeInField stepKey =" seeOption2StoreView" selector =" {{AttributePropertiesSection.dropdownNthOptionDefaultStoreView('2')}}" userInput =" {{multiselectProductAttribute.option2_frontend}}" />
83
- <dontSeeCheckboxIsChecked stepKey =" dontSeeOption2Default" selector =" {{AttributePropertiesSection.dropdownNthOptionIsDefault('2')}}" />
83
+ <seeCheckboxIsChecked stepKey =" dontSeeOption2Default" selector =" {{AttributePropertiesSection.dropdownNthOptionIsDefault('2')}}" />
84
84
<seeInField stepKey =" seeOption3Admin" selector =" {{AttributePropertiesSection.dropdownNthOptionAdmin('3')}}" userInput =" {{multiselectProductAttribute.option3_admin}}" />
85
85
<seeInField stepKey =" seeOption3StoreView" selector =" {{AttributePropertiesSection.dropdownNthOptionDefaultStoreView('3')}}" userInput =" {{multiselectProductAttribute.option3_frontend}}" />
86
86
<seeCheckboxIsChecked stepKey =" seeOption3Default" selector =" {{AttributePropertiesSection.dropdownNthOptionIsDefault('3')}}" />
You can’t perform that action at this time.
0 commit comments