|
23 | 23 | <before>
|
24 | 24 | <magentoCLI command="config:set cms/wysiwyg/enabled disabled" stepKey="disableWYSIWYG"/>
|
25 | 25 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
26 |
| - <createData entity="_defaultCmsPage" stepKey="createPreReqCMSPage" /> |
| 26 | + <createData entity="_defaultCmsPage" stepKey="createPreReqCMSPage"/> |
27 | 27 | </before>
|
28 | 28 | <after>
|
29 | 29 | <magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG"/>
|
30 |
| - <deleteData createDataKey="createPreReqCMSPage" stepKey="deletePreReqCMSPage" /> |
| 30 | + <deleteData createDataKey="createPreReqCMSPage" stepKey="deletePreReqCMSPage"/> |
31 | 31 | <actionGroup ref="logout" stepKey="logout"/>
|
32 | 32 | </after>
|
33 | 33 | <!--Create CMS Page using PageBuilder-->
|
34 | 34 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToContentCreatedCMSPage1">
|
35 | 35 | <argument name="CMSPage" value="$$createPreReqCMSPage$$"/>
|
36 | 36 | </actionGroup>
|
37 |
| - <waitForElementVisible selector="{{PageBuilderPanel.layoutMenuSection}}" stepKey="waitForPageBuilderDisplay" /> |
| 37 | + <waitForElementVisible selector="{{PageBuilderPanel.layoutMenuSection}}" stepKey="waitForPageBuilderDisplay"/> |
38 | 38 | <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection">
|
39 | 39 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
40 | 40 | </actionGroup>
|
|
47 | 47 | <waitForLoadingMaskToDisappear stepKey="waitForEditPanelSpinner"/>
|
48 | 48 | <fillField selector="{{TextOnConfiguration.textArea}}" userInput="Hello CMS Page from PageBuilder" stepKey="addTextToEditor"/>
|
49 | 49 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
50 |
| - <click selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="saveCMSWithPageBuilderContent" /> |
| 50 | + <click selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="saveCMSWithPageBuilderContent"/> |
51 | 51 | <!--Enable WYSIWYG-->
|
52 | 52 | <magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG"/>
|
53 | 53 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToContentCreatedCMSPage2">
|
|
65 | 65 | <group value="pagebuilder-cms-page"/>
|
66 | 66 | </annotations>
|
67 | 67 | <!-- PageBuilder is enabled so check default is full width -->
|
68 |
| - <comment userInput="PageBuilder is enabled so check default is full width" stepKey="commentSeeFullWidth" /> |
69 |
| - <seeOptionIsSelected selector="{{DefaultLayoutsSection.pageLayout}}" userInput="{{PageBuilderFullWidthLayout.cms}}" stepKey="seeOneColumnSelected" /> |
70 |
| - <seeOptionIsSelected selector="{{DefaultLayoutsSection.productLayout}}" userInput="{{PageBuilderFullWidthLayout.product}}" stepKey="seeNoLayoutUpdatesSelected1" /> |
71 |
| - <seeOptionIsSelected selector="{{DefaultLayoutsSection.categoryLayout}}" userInput="{{PageBuilderFullWidthLayout.category}}" stepKey="seeNoLayoutUpdatesSelected2" /> |
| 68 | + <comment userInput="PageBuilder is enabled so check default is full width" stepKey="commentSeeFullWidth"/> |
| 69 | + <seeOptionIsSelected selector="{{DefaultLayoutsSection.pageLayout}}" userInput="{{PageBuilderFullWidthLayout.cms}}" stepKey="seeOneColumnSelected"/> |
| 70 | + <seeOptionIsSelected selector="{{DefaultLayoutsSection.productLayout}}" userInput="{{PageBuilderFullWidthLayout.product}}" stepKey="seeNoLayoutUpdatesSelected1"/> |
| 71 | + <seeOptionIsSelected selector="{{DefaultLayoutsSection.categoryLayout}}" userInput="{{PageBuilderFullWidthLayout.category}}" stepKey="seeNoLayoutUpdatesSelected2"/> |
72 | 72 | </test>
|
73 | 73 | <test name="PageBuilderCMSPageCreateCMSPageFullWidthLayout">
|
74 | 74 | <annotations>
|
|
0 commit comments