|
24 | 24 | <actionGroup ref="enablePageBuilderSetting" stepKey="enablePageBuilderSetting"/>
|
25 | 25 | <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/>
|
26 | 26 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
|
| 27 | + <createData entity="_defaultCmsPage" stepKey="createCMSPage" /> |
27 | 28 | </before>
|
28 | 29 | <after>
|
29 | 30 | <actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/>
|
30 | 31 | <actionGroup ref="logout" stepKey="logout"/>
|
| 32 | + <deleteData createDataKey="createCMSPage" stepKey="deletePreReqCMSPage" /> |
31 | 33 | </after>
|
32 |
| - <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
33 |
| - <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 34 | + <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage"> |
| 35 | + <argument name="CMSPage" value="$$createCMSPage$$"/> |
34 | 36 | </actionGroup>
|
35 | 37 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupInteractive">
|
36 | 38 | <argument name="group" value="PageBuilderBlockContentType"/>
|
|
40 | 42 | </actionGroup>
|
41 | 43 | <actionGroup ref="closeEditPanelSettings" stepKey="closeSlideEditPanel"/>
|
42 | 44 | <seeElement selector="{{BlockOnStage.status('Empty Block')}}" stepKey="seeEmptyBlockPlaceHolder"/>
|
| 45 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/> |
| 46 | + <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/> |
| 47 | + <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/> |
| 48 | + <dontSeeElement selector="{{BlockOnStorefront.blockContent}}" stepKey="seeBlockContentOnCmsStage"/> |
43 | 49 | </test>
|
44 | 50 | <test name="AddBlockToCmsPage">
|
45 | 51 | <annotations>
|
|
62 | 68 | <after>
|
63 | 69 | <deleteData createDataKey="createPreReqBlock" stepKey="deletePreReqBlock" />
|
64 | 70 | <deleteData createDataKey="createCMSPage" stepKey="deletePreReqCMSPage" />
|
65 |
| - <actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/> |
66 | 71 | <actionGroup ref="logout" stepKey="logout"/>
|
67 | 72 | </after>
|
68 | 73 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage">
|
|
0 commit comments