Skip to content

Commit 8e497ac

Browse files
author
Hwashiang Yu
committed
MC-11821: Changing row appearance with two rows on stage breaks admin
- Updated stepKey from header to heading - Changed waitForElementVisible to use seeElement
1 parent 9687f82 commit 8e497ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,7 @@
20692069
<argument name="property" value="PageBuilderRowAppearance_FullBleed"/>
20702070
</actionGroup>
20712071
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsRow2"/>
2072-
<waitForElementVisible selector="{{RowOnStage.appearanceFullWidthFullBleed(('2', PageBuilderRowAppearance_FullBleed.value)}}" stepKey="waitForFullBleedAppearanceVisible"/>
2072+
<seeElement selector="{{RowOnStage.appearanceFullWidthFullBleed(('2', PageBuilderRowAppearance_FullBleed.value)}}" stepKey="seeFullBleedAppearanceElement"/>
20732073
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
20742074
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
20752075
<!-- Set 2nd row appearance back to Contained -->
@@ -2082,13 +2082,13 @@
20822082
<argument name="property" value="PageBuilderRowAppearance_Contained"/>
20832083
</actionGroup>
20842084
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsRow2Revert"/>
2085-
<waitForElementVisible selector="{{RowOnStage.appearanceContained(('2', PageBuilderRowAppearance_Contained.value)}}" stepKey="waitForContainedAppearanceVisible"/>
2085+
<seeElement selector="{{RowOnStage.appearanceContained(('2', PageBuilderRowAppearance_Contained.value)}}" stepKey="seeContainedAppearanceElement"/>
20862086
<!-- Drag heading into 2nd row to make sure still works -->
20872087
<comment userInput="Drag heading into 2nd row to make sure still works" stepKey="comment2ndRowRevertFunctional"/>
20882088
<actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroupHeading">
20892089
<argument name="group" value="PageBuilderHeadingContentType"/>
20902090
</actionGroup>
2091-
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeaderToRow2Revert">
2091+
<actionGroup ref="dragContentTypeToContainer" stepKey="dragHeadingToRow2Revert">
20922092
<argument name="contentType" value="PageBuilderHeadingContentType"/>
20932093
<argument name="contentTypeIndex" value="1"/>
20942094
<argument name="containerTargetType" value="PageBuilderRowContentType"/>
@@ -2098,7 +2098,7 @@
20982098
<argument name="index" value="1"/>
20992099
</actionGroup>
21002100
<dontSee selector="{{RowOnStage.empty('2')}}" stepKey="dontSeeRowTwoPlaceholder"/>
2101-
<actionGroup ref="removeEmptyContentTypeFromStage" stepKey="removeHeaderFromRow">
2101+
<actionGroup ref="removeEmptyContentTypeFromStage" stepKey="removeHeadingFromRow">
21022102
<argument name="contentType" value="PageBuilderHeadingContentType"/>
21032103
</actionGroup>
21042104
<dontSeeJsError stepKey="doNotSeeJSErrorInConsole"/>

0 commit comments

Comments
 (0)