Skip to content

Commit 1db57fc

Browse files
committed
MAGETWO-91924: Jenkins - MFTF Button Failures
- Add default value to text_align to fix hasChanges bug - Update ActionGroups being used to set text_align in Buttons
1 parent 56ec63a commit 1db57fc

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/ui_component/pagebuilder_base_form.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
<collapsible>true</collapsible>
2525
</settings>
2626
<field name="text_align" sortOrder="10" formElement="select">
27+
<argument name="data" xsi:type="array">
28+
<item name="config" xsi:type="array">
29+
<item name="default" xsi:type="string">default</item>
30+
</item>
31+
</argument>
2732
<settings>
2833
<dataType>text</dataType>
2934
<label translate="true">Alignment</label>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/PageBuilder/Test/AdminPageBuilderButtonsTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@
596596
<actionGroup ref="expandConfigurationSection" stepKey="expandConfigurationSection"/>
597597
<!-- Update Values -->
598598
<comment userInput="Update Values" stepKey="commentUpdateValues"/>
599-
<actionGroup ref="selectSlideOutPanelField" stepKey="enterAlignment">
599+
<actionGroup ref="selectAlignment" stepKey="enterAlignment">
600600
<argument name="property" value="PageBuilderAdvancedAlignmentPropertyCenter"/>
601601
</actionGroup>
602602
<actionGroup ref="selectSlideOutPanelField" stepKey="enterBorder">
@@ -733,7 +733,7 @@
733733
<actionGroup ref="expandConfigurationSection" stepKey="expandConfigurationSection"/>
734734
<!-- Update Values -->
735735
<comment userInput="Update Values" stepKey="commentUpdateValues"/>
736-
<actionGroup ref="selectSlideOutPanelField" stepKey="enterAlignment">
736+
<actionGroup ref="selectAlignment" stepKey="enterAlignment">
737737
<argument name="property" value="PageBuilderAdvancedAlignmentPropertyCenter"/>
738738
</actionGroup>
739739
<actionGroup ref="selectSlideOutPanelField" stepKey="enterBorder">

0 commit comments

Comments
 (0)