Skip to content

Commit 3f053d8

Browse files
committed
MC-1176: Create MFTF tests for configuring grid size
- Update tests removing empty columns to use empty column action group
1 parent ff3f043 commit 3f053d8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderColumnResizingTest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,6 @@
729729
<argument name="contentType" value="PageBuilderColumnContentType"/>
730730
<argument name="contentTypeNumber" value="1"/>
731731
</actionGroup>
732-
<actionGroup ref="confirmRemovalModal" stepKey="confirmRemovalModal"/>
733732
<actionGroup ref="dragContentTypeToContainer" stepKey="dragIntoStage1">
734733
<argument name="contentType" value="PageBuilderDividerContentType"/>
735734
<argument name="containerTargetType" value="PageBuilderColumnContentType"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderColumnTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
</actionGroup>
8787
<seeNumberOfElements selector="{{PageBuilderColumnSection.columnGroupColumns('1')}}" userInput="1" stepKey="seeOneColumnInGroup" />
8888
<!-- As the removal of the first column caused this ones width to change we have to confirm the removal -->
89-
<actionGroup ref="removeContentTypeFromStage" stepKey="removeColumn2">
89+
<actionGroup ref="removeEmptyContentTypeFromStage" stepKey="removeColumn2">
9090
<argument name="contentType" value="PageBuilderColumnContentType"/>
9191
</actionGroup>
9292
<dontSeeElement selector="{{PageBuilderColumnSection.column}}" stepKey="dontSeeColumn"/>
@@ -927,7 +927,7 @@
927927
<waitForElementVisible selector="{{PageBuilderColumnSection.columnStyle(PageBuilderFirstColumnInStage.index, PageBuilderColumnStyles.widthOneTwelfth)}}" stepKey="seeFirstColumnWidth"/>
928928
<seeElement selector="{{PageBuilderColumnSection.columnStyle(PageBuilderSecondColumnInStage.index, PageBuilderColumnStyles.widthFiveTwelfth)}}" stepKey="seeSecondColumnWidth"/>
929929
<seeElement selector="{{PageBuilderColumnSection.columnStyle(PageBuilderThirdColumnInStage.index, PageBuilderColumnStyles.widthHalf)}}" stepKey="seeThirdColumnWidth"/>
930-
<actionGroup ref="removeContentTypeFromStage" stepKey="removeColumn1">
930+
<actionGroup ref="removeEmptyContentTypeFromStage" stepKey="removeColumn1">
931931
<argument name="contentType" value="PageBuilderColumnContentType"/>
932932
</actionGroup>
933933
<waitForElementVisible selector="{{PageBuilderColumnSection.columnStyle(PageBuilderFirstColumnInStage.index, PageBuilderColumnStyles.widthHalf)}}" stepKey="seeFirstColumnWidthDistributed"/>

0 commit comments

Comments
 (0)