Skip to content

Commit d5a9f08

Browse files
committed
#559: User sees no predefined gutters - Mftf tests fixes
1 parent cfdd3eb commit d5a9f08

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCatalogProductPageBuilderTest/PageBuilderCatalogProductAddAndEditRowColumnSlideTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterMinHeightProperty">
4848
<argument name="property" value="PageBuilderMinHeightProperty_300px"/>
4949
</actionGroup>
50-
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsRow"/>
50+
<actionGroup ref="saveEditPanelSettingsFullScreen" stepKey="saveEditPanelSettingsRow"/>
5151
<!-- Add 2nd Row -->
5252
<comment userInput="Add 2nd Row" stepKey="commentAddRow"/>
5353
<actionGroup ref="dragContentTypeToDropZone" stepKey="dragRowToStage">

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderRowBackgroundAttributeTest/RowValidateBackgroundFormTest.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
4646
<argument name="contentType" value="PageBuilderRowContentType"/>
4747
</actionGroup>
48+
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterMinHeightProperty">
49+
<argument name="property" value="PageBuilderMinHeightProperty_300px"/>
50+
</actionGroup>
4851
<!-- Update all background fields -->
4952
<comment userInput="Update all background fields" stepKey="commentFillBackgroundPanel"/>
5053
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBackgroundColor">
@@ -83,7 +86,7 @@
8386
<argument name="backgroundRepeat" value="PageBuilderBackgroundRepeat_Enabled"/>
8487
<argument name="backgroundAttachment" value="PageBuilderBackgroundAttachment_Scroll"/>
8588
</actionGroup>
86-
<actionGroup ref="validateBackgroundImage" stepKey="validateImageOnStage1">
89+
<actionGroup ref="ValidateBackgroundImageConfigurationActionGroup" stepKey="validateImageOnStage1">
8790
<argument name="section" value="RowOnStage"/>
8891
<argument name="backgroundImage" value="PageBuilderBackgroundImage_JPG"/>
8992
</actionGroup>
@@ -101,7 +104,7 @@
101104
<argument name="backgroundRepeat" value="PageBuilderBackgroundRepeat_Enabled"/>
102105
<argument name="backgroundAttachment" value="PageBuilderBackgroundAttachment_Scroll"/>
103106
</actionGroup>
104-
<actionGroup ref="validateBackgroundImage" stepKey="validateImageOnStage2">
107+
<actionGroup ref="ValidateBackgroundImageConfigurationActionGroup" stepKey="validateImageOnStage2">
105108
<argument name="section" value="RowOnStage"/>
106109
<argument name="backgroundImage" value="PageBuilderBackgroundImage_JPG"/>
107110
</actionGroup>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderRowBackgroundAttributeTest/RowValidateBackgroundSectionDefaultValuesTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
3939
<argument name="contentType" value="PageBuilderRowContentType"/>
4040
</actionGroup>
41+
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterMinHeightProperty">
42+
<argument name="property" value="PageBuilderMinHeightProperty_300px"/>
43+
</actionGroup>
4144
<!-- Validate Default Values -->
4245
<comment userInput="Validate Default Values" stepKey="CommentValidateDefaultValues"/>
4346
<actionGroup ref="seeInFieldSlideOutProperty" stepKey="validateBackgroundColor">
@@ -70,7 +73,7 @@
7073
<actionGroup ref="seeOptionIsSelectedSlideOutProperty" stepKey="validateBackgroundAttachment">
7174
<argument name="property" value="PageBuilderBackgroundAttachment_Default"/>
7275
</actionGroup>
73-
<actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
76+
<actionGroup ref="saveEditPanelSettings" stepKey="closeEditPanelSettings"/>
7477
<!-- Validate Stage -->
7578
<comment userInput="Validate Stage" stepKey="commentValidateStage"/>
7679
<actionGroup ref="ValidateBackgroundConfigurationWithNoImageOrColorActionGroup" stepKey="validateStage">

0 commit comments

Comments
 (0)