Skip to content

Commit 435d280

Browse files
committed
MAGETWO-87898: Stabilize tests
1 parent 081e516 commit 435d280

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/PageBuilder/ActionGroup/ActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,10 @@
597597
<waitForPageLoad stepKey="waitForPageLoad3"/>
598598
</actionGroup>
599599
<actionGroup name="verifyPageBuilderVisibleOnPage">
600+
<waitForElementVisible selector="{{PageBuilderActionsSection.identifyPageBuilder}}" stepKey="seePageBuilderVisible" />
601+
<dontSee userInput="Enable Advanced CMS" stepKey="dontSeeEnableAdvancedCMSBtn"/>
602+
</actionGroup>
603+
<actionGroup name="verifyPageBuilderVisibleOnStaging">
600604
<scrollTo selector="{{PageBuilderActionsSection.identifyPageBuilder}}" stepKey="scrollToIdentifyPageBuilder"/>
601605
<waitForElementVisible selector="{{PageBuilderActionsSection.identifyPageBuilder}}" stepKey="seePageBuilderVisible" />
602606
<dontSee userInput="Enable Advanced CMS" stepKey="dontSeeEnableAdvancedCMSBtn"/>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@
175175
<actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedCMSBlockPage1">
176176
<argument name="CMSBlockPage" value="$$createPreReqBlock$$"/>
177177
</actionGroup>
178-
179178
<actionGroup ref="dragContentBlockToStage" stepKey="dragButtonsOntoStage">
180179
<argument name="contentBlockType" value="PageBuilderTextContentBlock"/>
181180
</actionGroup>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Staging/Test/AdminPageBuilderEnabledTest.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,17 @@
7373
</actionGroup>
7474
<actionGroup ref="verifyPageBuilderVisibleOnPage" stepKey="verifyPageBuilderVisibleOnCMSPage"/>
7575
<!--Verify PageBuilder visible on staging slideout of CMS Page-->
76-
<scrollTo selector="div.pagebuilder-header" x="0" y="-100" stepKey="scrollToTop1"/>
7776
<actionGroup ref="navigateToStagingSlideout" stepKey="navigateToStagingSlideoutCMS"/>
7877
<click selector="{{AdminStagingSlideOutSection.contentTab}}" stepKey="expandContentTab" />
79-
<actionGroup ref="verifyPageBuilderVisibleOnPage" stepKey="verifyPageBuilderVisibleOnCMSStaging"/>
78+
<actionGroup ref="verifyPageBuilderVisibleOnStaging" stepKey="verifyPageBuilderVisibleOnCMSStaging"/>
8079
<!--Verify PageBuilder visible on CMS Block creation form-->
8180
<actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToContentCreatedBlock">
8281
<argument name="CMSBlockPage" value="$$createPreReqBlock$$"/>
8382
</actionGroup>
8483
<actionGroup ref="verifyPageBuilderVisibleOnPage" stepKey="verifyPageBuilderVisibleOnBlockPage"/>
8584
<!--Verify PageBuilder visible on staging slideout of CMS Block-->
86-
<scrollTo selector="div.pagebuilder-header" x="0" y="-100" stepKey="scrollToTop2"/>
8785
<actionGroup ref="navigateToStagingSlideout" stepKey="navigateToStagingSlideoutBlock"/>
88-
<actionGroup ref="verifyPageBuilderVisibleOnPage" stepKey="verifyPageBuilderVisibleOnBlockStaging"/>
86+
<actionGroup ref="verifyPageBuilderVisibleOnStaging" stepKey="verifyPageBuilderVisibleOnBlockStaging"/>
8987
<!--Verify PageBuilder visible on Newsletter creation form-->
9088
<amOnPage url="{{NewsletterTemplateForm.url}}" stepKey="amOnNewsletterTemplatePage"/>
9189
<waitForPageLoad stepKey="waitForPageLoad6"/>

0 commit comments

Comments
 (0)