Skip to content

Commit 92d4dee

Browse files
author
Hwashiang Yu
committed
MC-4150: Widget placeholder and variable placeholder styling is broken on inline editing
- Updated test stepkeys
1 parent a5741ec commit 92d4dee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2438,14 +2438,14 @@
24382438
<actionGroup ref="addVariableToTinyMCEInline" stepKey="addVariableToTinyMCE">
24392439
<argument name="variable" value="TinyMCEVariableBaseURL"/>
24402440
</actionGroup>
2441-
<seeElement selector="{{TextOnStage.text('1', TinyMCEVariableBaseURL.editPanelValue)}}" stepKey="waitForVariableBaseURLStage"/>
2441+
<seeElement selector="{{TextOnStage.text('1', TinyMCEVariableBaseURL.editPanelValue)}}" stepKey="seeVariableBaseURLStage"/>
24422442
<!--Input widget into stage-->
24432443
<comment userInput="Input widget into stage" stepKey="commentInputWidgetIntoStage"/>
24442444
<actionGroup ref="addPageLinkWidgetToTinyMCEInline" stepKey="addPageLinkWidgetToTinyMCE">
24452445
<argument name="widget" value="TinyMCEWidgetCMSPageLink"/>
24462446
<argument name="page" value="$$createCMSPageB.identifier$$"/>
24472447
</actionGroup>
2448-
<seeElement selector="{{TextOnStage.text('1', TinyMCEWidgetCMSPageLink.editPanelValue)}}" stepKey="waitForWidgetStage"/>
2448+
<seeElement selector="{{TextOnStage.text('1', TinyMCEWidgetCMSPageLink.editPanelValue)}}" stepKey="seeWidgetStage"/>
24492449
<!-- Validate stage -->
24502450
<comment userInput="Validate stage" stepKey="commentValidateStage"/>
24512451
<executeJS function="return window.getComputedStyle(document.evaluate(&quot;{{TextOnStage.variablePlaceholder('1')}}&quot;, document.body).iterateNext()).getPropertyValue('background-color')" stepKey="getVariableStyle" />

0 commit comments

Comments
 (0)