|
39 | 39 | <actualResult type="variable">grabTextFromDisclaimerMsg</actualResult>
|
40 | 40 | <expectedResult type="string">Includes advanced tools to design page layouts, add Magento content (Product and Category data, CMS content and Blocks), and format text.\n\nFor Product Attributes — Page Builder can be selected as the “input type” to design layouts and create content.</expectedResult>
|
41 | 41 | </assertEquals>
|
42 |
| - <seeOptionIsSelected selector="{{ContentManagementSection.EnablePageBuilderContentPreview}}" userInput="Yes" stepKey="seeEnablePageBuilderContentPreview"/> |
43 |
| - <grabTextFrom selector="//tr[@id='row_cms_pagebuilder_enable_content_preview']/td[@class='value']//span" stepKey="grabTextFromEnablePageBuilderContentPreviewComment"/> |
44 |
| - <assertEquals message="pass" stepKey="assertEquals3"> |
45 |
| - <actualResult type="variable">grabTextFromEnablePageBuilderContentPreviewComment</actualResult> |
46 |
| - <expectedResult type="string">Preview Page Builder content on product and category editing pages. Setting to "No" can improve performance in case several attributes are editable by Page Builder.</expectedResult> |
47 |
| - </assertEquals> |
48 |
| - <!--Disable PageBuilder--> |
| 42 | + <seeOptionIsSelected selector="{{ContentManagementSection.enablePageBuilderContentPreview}}" userInput="Yes" stepKey="seeEnablePageBuilderContentPreview"/> |
| 43 | + <waitForText selector="{{ContentManagementSection.enablePageBuilderContentPreviewComment}}" userInput='Preview Page Builder content on product and category editing pages. Setting to "No" can improve performance in case several attributes are editable by Page Builder.' stepKey="waitForTextEnablePageBuilderContentPreviewComment"/> |
| 44 | + <!-- Disable Page Builder --> |
49 | 45 | <comment userInput="Disable PageBuilder" stepKey="commentDisablePageBuilder"/>
|
50 | 46 | <selectOption selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="No" stepKey="selectNO1"/>
|
51 | 47 | <waitForElementVisible selector="{{ContentManagementSection.DisclaimerMessage}}" stepKey="waitForPopUpMsg1" />
|
|
57 | 53 | <waitForElementVisible selector="{{ContentManagementSection.DisclaimerMessage}}" stepKey="waitForPopUpMsg2"/>
|
58 | 54 | <click selector="{{ContentManagementSection.TurnOffBtn}}" stepKey="selectTurnOff" />
|
59 | 55 | <dontSee selector="{{ContentManagementSection.DisclaimerMessage}}" stepKey="popupClose2"/>
|
60 |
| - <dontSee selector="{{ContentManagementSection.EnablePageBuilderContentPreview}}" stepKey="dontSeeEnablePageBuilderContentPreview"/> |
| 56 | + <dontSee selector="{{ContentManagementSection.enablePageBuilderContentPreview}}" stepKey="dontSeeEnablePageBuilderContentPreview"/> |
61 | 57 | <seeOptionIsSelected selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="No" stepKey="seeNoIsSelected" />
|
62 | 58 | <click selector="{{ContentManagementSection.Save}}" stepKey="saveConfig" />
|
63 |
| - <!-- I switch between NO -> YES - > NO without saving the Config, Then: Warning message will not appear on page--> |
64 | 59 | <comment userInput="Switch between NO -> YES - > NO" stepKey="commentTestSwitchingAfterSave"/>
|
65 | 60 | <selectOption selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="No" stepKey="selectNO3"/>
|
66 | 61 | <selectOption selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="Yes" stepKey="selectYes"/>
|
|
0 commit comments