|
31 | 31 | <amOnPage url="{{AdminContentManagementPage.url}}" stepKey="navigateToConfigurationPage" />
|
32 | 32 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
33 | 33 | <see userInput="Advanced Content Tools" stepKey="seeAdvancedContentToolTab"/>
|
34 |
| - <conditionalClick stepKey="expandPageBuilderTab" selector="{{PageBuilderCollapsibleSection.AdvancedContentToolsTab}}" dependentSelector="{{PageBuilderCollapsibleSection.CheckIfTabOpen}}" visible="true" /> |
35 |
| - <waitForElementVisible selector="{{PageBuilderCollapsibleSection.EnablePageBuilderDrp}}" stepKey="waitForEnablePageBuilderVisible" /> |
36 |
| - <seeOptionIsSelected selector="{{PageBuilderCollapsibleSection.EnablePageBuilderDrp}}" userInput="Yes" stepKey="seeYESOptionIsSelected"/> |
| 34 | + <conditionalClick stepKey="expandPageBuilderTab" selector="{{ContentManagementSection.PageBuilderOptions}}" dependentSelector="{{ContentManagementSection.CheckIfPageBuilderTabExpanded}}" visible="true" /> |
| 35 | + <waitForElementVisible selector="{{ContentManagementSection.EnablePageBuilder}}" stepKey="waitForEnablePageBuilderVisible" /> |
| 36 | + <seeOptionIsSelected selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="Yes" stepKey="seeYESOptionIsSelected"/> |
37 | 37 | <grabTextFrom selector="//tr[@id='row_cms_pagebuilder_enabled']/td[@class='value']//span" stepKey="grabTextFromDisclaimerMsg"/>
|
38 | 38 | <assertEquals stepKey="assertEquals2" expected="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." expectedType="string" actual="grabTextFromDisclaimerMsg" actualType="variable" message="pass"/>
|
39 | 39 |
|
40 | 40 | <!--Disable PageBuilder-->
|
41 |
| - <selectOption selector="{{PageBuilderCollapsibleSection.EnablePageBuilderDrp}}" userInput="No" stepKey="selectNO1"/> |
42 |
| - <waitForElementVisible selector="{{PageBuilderCollapsibleSection.DisclaimerMessage}}" stepKey="waitForPopUpMsg1" /> |
43 |
| - <seeElement selector="{{PageBuilderCollapsibleSection.DisclaimerMessage}}" stepKey="seePopUp1" /> |
44 |
| - <click selector="{{PageBuilderCollapsibleSection.CancelBtn}}" stepKey="selectCancel" /> |
45 |
| - <dontSee selector="{{PageBuilderCollapsibleSection.DisclaimerMessage}}" stepKey="popupClose1"/> |
46 |
| - <seeOptionIsSelected selector="{{PageBuilderCollapsibleSection.EnablePageBuilderDrp}}" userInput="Yes" stepKey="seeYesIsSelected" /> |
47 |
| - <selectOption selector="{{PageBuilderCollapsibleSection.EnablePageBuilderDrp}}" userInput="No" stepKey="selectNO2"/> |
48 |
| - <waitForElementVisible selector="{{PageBuilderCollapsibleSection.DisclaimerMessage}}" stepKey="waitForPopUpMsg2"/> |
49 |
| - <click selector="{{PageBuilderCollapsibleSection.TurnOffBtn}}" stepKey="selectTurnOff" /> |
50 |
| - <dontSee selector="{{PageBuilderCollapsibleSection.DisclaimerMessage}}" stepKey="popupClose2"/> |
51 |
| - <seeOptionIsSelected selector="{{PageBuilderCollapsibleSection.EnablePageBuilderDrp}}" userInput="No" stepKey="seeNoIsSelected" /> |
| 41 | + <selectOption selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="No" stepKey="selectNO1"/> |
| 42 | + <waitForElementVisible selector="{{ContentManagementSection.DisclaimerMessage}}" stepKey="waitForPopUpMsg1" /> |
| 43 | + <seeElement selector="{{ContentManagementSection.DisclaimerMessage}}" stepKey="seePopUp1" /> |
| 44 | + <click selector="{{ContentManagementSection.CancelBtn}}" stepKey="selectCancel" /> |
| 45 | + <dontSee selector="{{ContentManagementSection.DisclaimerMessage}}" stepKey="popupClose1"/> |
| 46 | + <seeOptionIsSelected selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="Yes" stepKey="seeYesIsSelected" /> |
| 47 | + <selectOption selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="No" stepKey="selectNO2"/> |
| 48 | + <waitForElementVisible selector="{{ContentManagementSection.DisclaimerMessage}}" stepKey="waitForPopUpMsg2"/> |
| 49 | + <click selector="{{ContentManagementSection.TurnOffBtn}}" stepKey="selectTurnOff" /> |
| 50 | + <dontSee selector="{{ContentManagementSection.DisclaimerMessage}}" stepKey="popupClose2"/> |
| 51 | + <seeOptionIsSelected selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="No" stepKey="seeNoIsSelected" /> |
52 | 52 | <click selector="{{ContentManagementSection.Save}}" stepKey="saveConfig" />
|
53 | 53 |
|
54 | 54 | <!-- I switch between NO -> YES - > NO without saving the Config, Then: Warning message will not appear on page-->
|
55 |
| - <selectOption selector="{{PageBuilderCollapsibleSection.EnablePageBuilderDrp}}" userInput="No" stepKey="selectNO3"/> |
56 |
| - <selectOption selector="{{PageBuilderCollapsibleSection.EnablePageBuilderDrp}}" userInput="Yes" stepKey="selectYes"/> |
57 |
| - <selectOption selector="{{PageBuilderCollapsibleSection.EnablePageBuilderDrp}}" userInput="No" stepKey="selectNO4"/> |
58 |
| - <dontSee selector="{{PageBuilderCollapsibleSection.DisclaimerMessage}}" stepKey="dontSeePopUp"/> |
| 55 | + <selectOption selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="No" stepKey="selectNO3"/> |
| 56 | + <selectOption selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="Yes" stepKey="selectYes"/> |
| 57 | + <selectOption selector="{{ContentManagementSection.EnablePageBuilder}}" userInput="No" stepKey="selectNO4"/> |
| 58 | + <dontSee selector="{{ContentManagementSection.DisclaimerMessage}}" stepKey="dontSeePopUp"/> |
59 | 59 | </test>
|
60 | 60 | <test name="VerifyPageBuilderVisibleOnCatalog">
|
61 | 61 | <annotations>
|
|
0 commit comments