|
25 | 25 | <actionGroup ref="EnabledWYSIWYG" stepKey="enableWYSIWYG"/>
|
26 | 26 | </before>
|
27 | 27 | <amOnPage url="{{ConfigurationStoresPage.url}}" stepKey="navigateToWYSIWYGConfigPage1"/>
|
| 28 | + <waitForPageLoad stepKey="wait1"/> |
28 | 29 | <conditionalClick stepKey="expandWYSIWYGOptions1" selector="{{ContentManagementSection.WYSIWYGOptions}}" dependentSelector="{{ContentManagementSection.CheckIfTabExpand}}" visible="true" />
|
29 | 30 | <waitForElementVisible selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="waitForCheckbox1" />
|
30 | 31 | <uncheckOption selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="uncheckUseSystemValue1"/>
|
|
33 | 34 | <click selector="{{ContentManagementSection.WYSIWYGOptions}}" stepKey="collapseWYSIWYGOptions1" />
|
34 | 35 | <click selector="{{ContentManagementSection.Save}}" stepKey="clickSaveConfig1" />
|
35 | 36 | <amOnPage url="{{CmsNewPagePage.url}}" stepKey="navigateToPage1"/>
|
36 |
| - <waitForPageLoad stepKey="wait1"/> |
| 37 | + <waitForPageLoad stepKey="wait2"/> |
37 | 38 | <fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle1"/>
|
38 | 39 | <click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickContentTab1" />
|
39 | 40 | <waitForElementVisible selector="{{TinyMCESection.TinyMCE4}}" stepKey="waitForTinyMCE4"/>
|
|
52 | 53 | <!--see widget on Storefront-->
|
53 | 54 | <see userInput="Hello TinyMCE4!" stepKey="seeContent1"/>
|
54 | 55 | <amOnPage url="{{ConfigurationStoresPage.url}}" stepKey="navigateToWYSIWYGConfigPage2"/>
|
| 56 | + <waitForPageLoad stepKey="wait4"/> |
55 | 57 | <conditionalClick stepKey="expandWYSIWYGOptions" selector="{{ContentManagementSection.WYSIWYGOptions}}" dependentSelector="{{ContentManagementSection.CheckIfTabExpand}}" visible="true" />
|
56 | 58 | <waitForElementVisible selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="waitForCheckbox2" />
|
57 | 59 | <uncheckOption selector="{{ContentManagementSection.SwitcherSystemValue}}" stepKey="uncheckUseSystemValue2"/>
|
|
60 | 62 | <click selector="{{ContentManagementSection.WYSIWYGOptions}}" stepKey="collapseWYSIWYGOptions2" />
|
61 | 63 | <click selector="{{ContentManagementSection.Save}}" stepKey="clickSaveConfig2" />
|
62 | 64 | <amOnPage url="{{CmsNewPagePage.url}}" stepKey="navigateToPage2"/>
|
63 |
| - <waitForPageLoad stepKey="wait2"/> |
| 65 | + <waitForPageLoad stepKey="wait5"/> |
64 | 66 | <fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle2"/>
|
65 | 67 | <click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickContentTab2" />
|
66 | 68 | <waitForElementVisible selector="{{TinyMCESection.TinyMCE3}}" stepKey="waitForTinyMCE3"/>
|
|
75 | 77 | <click selector="{{CmsNewPagePageActionsSection.savePage}}" stepKey="clickSavePage2"/>
|
76 | 78 | <!-- Go to storefront cms page, assert cms content -->
|
77 | 79 | <amOnPage url="{{simpleCmsPage.identifier}}" stepKey="amOnPageTestPage2"/>
|
78 |
| - <waitForPageLoad stepKey="wait4" /> |
| 80 | + <waitForPageLoad stepKey="wait6" /> |
79 | 81 | <!--see widget on Storefront-->
|
80 | 82 | <see userInput="Hello TinyMCE3!" stepKey="seeContent2"/>
|
81 | 83 | <actionGroup ref="SwitchToVersion4ActionGroup" stepKey="switchToTinyMCE4" />
|
|
0 commit comments