|
2567 | 2567 | <!-- Validate Image Editor On Storefront -->
|
2568 | 2568 | <seeElement selector="{{TextOnStorefront.messageContentTextAreaImage('1', PageBuilderBackgroundImage_JPG.value)}}" stepKey="validateImageFrontEnd"/>
|
2569 | 2569 | </test>
|
| 2570 | + <test name="TextDisabledWYSIWYGUpdateAdvancedConfigurationValues" extends="TextUpdateAdvancedConfigurationValues"> |
| 2571 | + <annotations> |
| 2572 | + <features value="PageBuilder"/> |
| 2573 | + <stories value="Text"/> |
| 2574 | + <title value="Update Advanced Configuration Values With Disabled WYSIWYG"/> |
| 2575 | + <description value="Validate that updating every attribute in the Advanced Configuration form for Text will update the Stage and Storefront correctly with disabled wysiwyg."/> |
| 2576 | + <severity value="CRITICAL"/> |
| 2577 | + <useCaseId value="MC-3713"/> |
| 2578 | + <testCaseId value="MC-5731"/> |
| 2579 | + <group value="pagebuilder"/> |
| 2580 | + <group value="pagebuilder-text"/> |
| 2581 | + </annotations> |
| 2582 | + <before> |
| 2583 | + <magentoCLI command="config:set cms/wysiwyg/enabled disabled" stepKey="disableWYSIWYG" before="loginAsAdmin"/> |
| 2584 | + </before> |
| 2585 | + <after> |
| 2586 | + <magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG" before="logout"/> |
| 2587 | + </after> |
| 2588 | + <waitForElementVisible selector="{{TextOnConfiguration.textArea}}" stepKey="waitForTextOnEditPanel" before="enterText"/> |
| 2589 | + <fillField selector="{{TextOnConfiguration.textArea}}" userInput="{{PageBuilderTextProperty.value}}" stepKey="enterText"/> |
| 2590 | + </test> |
| 2591 | + <test name="TextDisabledByDefaultWYSIWYGUpdateAdvancedConfigurationValues" extends="TextUpdateAdvancedConfigurationValues"> |
| 2592 | + <annotations> |
| 2593 | + <features value="PageBuilder"/> |
| 2594 | + <stories value="Text"/> |
| 2595 | + <title value="Update Advanced Configuration Values With Disabled By Default WYSIWYG"/> |
| 2596 | + <description value="Validate that updating every attribute in the Advanced Configuration form for Text will update the Stage and Storefront correctly with disabled wysiwyg by default."/> |
| 2597 | + <severity value="CRITICAL"/> |
| 2598 | + <useCaseId value="MC-3713"/> |
| 2599 | + <testCaseId value="MC-5732"/> |
| 2600 | + <group value="pagebuilder"/> |
| 2601 | + <group value="pagebuilder-text"/> |
| 2602 | + </annotations> |
| 2603 | + <before> |
| 2604 | + <magentoCLI command="config:set cms/wysiwyg/enabled hidden" stepKey="disableByDefaultWYSIWYG" before="loginAsAdmin"/> |
| 2605 | + </before> |
| 2606 | + <after> |
| 2607 | + <magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG" before="logout"/> |
| 2608 | + </after> |
| 2609 | + <waitForElementVisible selector="{{TextOnConfiguration.textArea}}" stepKey="waitForTextOnEditPanel" before="enterText"/> |
| 2610 | + <fillField selector="{{TextOnConfiguration.textArea}}" userInput="{{PageBuilderTextProperty.value}}" stepKey="enterText"/> |
| 2611 | + </test> |
2570 | 2612 | </tests>
|
0 commit comments