Skip to content

Commit 982728b

Browse files
committed
MAGETWO-89417: [2.3.x][Functional-Tests] - AdminSwitchWYSIWYGOptionsCest fails on 2.3-develop
1 parent 8e17718 commit 982728b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/Test/AdminSwitchWYSIWYGOptionsCest.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
2626
</before>
2727
<amOnPage url="{{ConfigurationStoresPage.url}}" stepKey="navigateToWYSIWYGConfigPage1"/>
28+
<waitForPageLoad stepKey="wait1"/>
2829
<conditionalClick stepKey="expandWYSIWYGOptions1" selector="{{ContentManagementSection.WYSIWYGOptions}}" dependentSelector="{{ContentManagementSection.CheckIfTabExpand}}" visible="true" />
2930
<waitForElementVisible selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="waitForCheckbox1" />
3031
<uncheckOption selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="uncheckUseSystemValue1"/>
@@ -33,7 +34,7 @@
3334
<click selector="{{ContentManagementSection.WYSIWYGOptions}}" stepKey="collapseWYSIWYGOptions1" />
3435
<click selector="{{ContentManagementSection.Save}}" stepKey="clickSaveConfig1" />
3536
<amOnPage url="{{CmsNewPagePage.url}}" stepKey="navigateToPage1"/>
36-
<waitForPageLoad stepKey="wait1"/>
37+
<waitForPageLoad stepKey="wait2"/>
3738
<fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle1"/>
3839
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickContentTab1" />
3940
<waitForElementVisible selector="{{TinyMCESection.TinyMCE4}}" stepKey="waitForTinyMCE4"/>
@@ -52,6 +53,7 @@
5253
<!--see widget on Storefront-->
5354
<see userInput="Hello TinyMCE4!" stepKey="seeContent1"/>
5455
<amOnPage url="{{ConfigurationStoresPage.url}}" stepKey="navigateToWYSIWYGConfigPage2"/>
56+
<waitForPageLoad stepKey="wait4"/>
5557
<conditionalClick stepKey="expandWYSIWYGOptions" selector="{{ContentManagementSection.WYSIWYGOptions}}" dependentSelector="{{ContentManagementSection.CheckIfTabExpand}}" visible="true" />
5658
<waitForElementVisible selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="waitForCheckbox2" />
5759
<uncheckOption selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="uncheckUseSystemValue2"/>
@@ -60,7 +62,7 @@
6062
<click selector="{{ContentManagementSection.WYSIWYGOptions}}" stepKey="collapseWYSIWYGOptions2" />
6163
<click selector="{{ContentManagementSection.Save}}" stepKey="clickSaveConfig2" />
6264
<amOnPage url="{{CmsNewPagePage.url}}" stepKey="navigateToPage2"/>
63-
<waitForPageLoad stepKey="wait2"/>
65+
<waitForPageLoad stepKey="wait5"/>
6466
<fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle2"/>
6567
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickContentTab2" />
6668
<waitForElementVisible selector="{{TinyMCESection.TinyMCE3}}" stepKey="waitForTinyMCE3"/>
@@ -75,7 +77,7 @@
7577
<click selector="{{CmsNewPagePageActionsSection.savePage}}" stepKey="clickSavePage2"/>
7678
<!-- Go to storefront cms page, assert cms content -->
7779
<amOnPage url="{{simpleCmsPage.identifier}}" stepKey="amOnPageTestPage2"/>
78-
<waitForPageLoad stepKey="wait4" />
80+
<waitForPageLoad stepKey="wait6" />
7981
<!--see widget on Storefront-->
8082
<see userInput="Hello TinyMCE3!" stepKey="seeContent2"/>
8183
<actionGroup ref="SwitchToVersion4ActionGroup" stepKey="switchToTinyMCE4" />

0 commit comments

Comments
 (0)