Skip to content

Commit fa5cb04

Browse files
committed
MC-5383: Option Menus, Heading Inline Editor & tinyMCE Inline Editor Are Cut Off on Full Screen View
Add more comments to TooltipMenusAreNotCutOffInFullScreenMode
1 parent 76860d3 commit fa5cb04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,8 @@
541541
<expectedResult type="int">0</expectedResult>
542542
<actualResult type="variable">$topBoundingClientRect</actualResult>
543543
</assertGreaterThanOrEqual>
544-
<click selector="{{PageBuilderPanel.searchPanel}}" stepKey="unFocusEditor"/>
544+
<click selector="{{PageBuilderPanel.searchPanel}}" stepKey="unFocusEditor"/
545+
<!-- Shrink column down to 1/3 its original size -->
545546
<comment userInput="Shrink column down to 1/3 its original size" stepKey="commentShrinkColumnToOneThirdItsOriginalSize" />
546547
<actionGroup ref="duplicateContentType" stepKey="duplicateColumn">
547548
<argument name="contentType" value="PageBuilderColumnContentType"/>
@@ -560,7 +561,7 @@
560561
<wait time="1" stepKey="waitForInlineWysiwygToolbarTransitionAnimationToFinish2" />
561562
<waitForElementVisible selector="{{PageBuilderStage.inlineWYSIWYGEditorPanel(PageBuilderTextContentType.role, '1')}}" stepKey="waitForWYWSIWYGEditorPanelToBeVisible2"/>
562563
<executeJS function="return document.evaluate(`{{PageBuilderStage.inlineWYSIWYGEditorPanel(PageBuilderTextContentType.role, '1')}}`, document.body).iterateNext().getBoundingClientRect().top" stepKey="topBoundingClientRect2"/>
563-
<!-- Assert top bounding client rect > 0 -->
564+
<!-- Assert top bounding client rect > 0 when column is 1/3 its original size -->
564565
<comment userInput="Assert top bounding client rect > 0 when column is 1/3 its original size" stepKey="commentAssertInlineEditorAppearsInSmallerColumn" />
565566
<assertGreaterThanOrEqual stepKey="assertTopBoundingClientRectIsGreaterThan0InSmallerColumn">
566567
<expectedResult type="int">0</expectedResult>

0 commit comments

Comments
 (0)