Skip to content

Commit 9fadea8

Browse files
committed
Merge branch 'MAGETWO-88142-editing-heading-new' of github.com:magento-obsessive-owls/magento2-page-builder into MAGETWO-88142-editing-heading-new
2 parents c564cc9 + f07b6d2 commit 9fadea8

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/PageBuilder/Test/AdminPageBuilderCommonTest.xml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -253,16 +253,14 @@
253253
<testCaseId value="MAGETWO-91322"/>
254254
<group value="pagebuilder"/>
255255
<group value="pagebuilder-common"/>
256+
<group value="pagebuilder-heading"/>
256257
</annotations>
257258
<before>
258259
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
259-
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
260-
<actionGroup ref="enablePageBuilderSetting" stepKey="enablePageBuilderSetting"/>
261260
<actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/>
262261
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
263262
</before>
264263
<after>
265-
<actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/>
266264
<actionGroup ref="logout" stepKey="logout"/>
267265
</after>
268266
<!-- Add 2nd Row and Heading-->
@@ -275,6 +273,10 @@
275273
<argument name="containerTargetType" value="PageBuilderRowContentBlock"/>
276274
<argument name="containerTargetIndex" value="2"/>
277275
</actionGroup>
276+
<scrollTo selector="div.pagebuilder-header" x="0" y="-100" stepKey="scrollToTop"/>
277+
<actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading">
278+
<argument name="index" value="1"/>
279+
</actionGroup>
278280
<!-- Configure Heading -->
279281
<comment userInput="Configure Heading" stepKey="commentEditHeading1"/>
280282
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
@@ -472,23 +474,24 @@
472474
<testCaseId value="MAGETWO-91320"/>
473475
<group value="pagebuilder"/>
474476
<group value="pagebuilder-common"/>
477+
<group value="pagebuilder-heading"/>
475478
</annotations>
476479
<before>
477480
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
478-
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
479-
<actionGroup ref="enablePageBuilderSetting" stepKey="enablePageBuilderSetting"/>
480481
<actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/>
481482
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
482483
</before>
483484
<after>
484-
<actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/>
485485
<actionGroup ref="logout" stepKey="logout"/>
486486
</after>
487487
<!-- Add Heading -->
488488
<comment userInput="Add Heading" stepKey="commentAddHeading"/>
489489
<actionGroup ref="dragContentBlockToStage" stepKey="dragContentBlockToStage">
490490
<argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/>
491491
</actionGroup>
492+
<actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading">
493+
<argument name="index" value="1"/>
494+
</actionGroup>
492495
<!-- Configure Heading -->
493496
<comment userInput="Configure Heading" stepKey="commentHeading"/>
494497
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
@@ -528,23 +531,24 @@
528531
<testCaseId value="MAGETWO-91321"/>
529532
<group value="pagebuilder"/>
530533
<group value="pagebuilder-common"/>
534+
<group value="pagebuilder-heading"/>
531535
</annotations>
532536
<before>
533537
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
534-
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
535-
<actionGroup ref="enablePageBuilderSetting" stepKey="enablePageBuilderSetting"/>
536538
<actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/>
537539
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
538540
</before>
539541
<after>
540-
<actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/>
541542
<actionGroup ref="logout" stepKey="logout"/>
542543
</after>
543544
<!-- Add Heading -->
544545
<comment userInput="Add Heading" stepKey="commentAddHeading"/>
545546
<actionGroup ref="dragContentBlockToStage" stepKey="dragContentBlockToStage">
546547
<argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/>
547548
</actionGroup>
549+
<actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading">
550+
<argument name="index" value="1"/>
551+
</actionGroup>
548552
<!-- Configure Heading -->
549553
<comment userInput="Configure Heading" stepKey="commentEditHeading"/>
550554
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">

0 commit comments

Comments
 (0)