|
2647 | 2647 | <actualResult type="variable">grabComputedTextAlignStoreFront</actualResult>
|
2648 | 2648 | </assertEquals>
|
2649 | 2649 | </test>
|
2650 |
| - <test name="InlineTinyMceEditingIsNotFocusedOnEditSave"> |
2651 |
| - <annotations> |
2652 |
| - <features value="PageBuilder"/> |
2653 |
| - <stories value="Text"/> |
2654 |
| - <title value="TinyMCE should not be incorrectly focused"/> |
2655 |
| - <description value="Verify the inline editing mode for TinyMCE isn't focused automatically when saving content within the edit panel"/> |
2656 |
| - <severity value="MAJOR"/> |
2657 |
| - <useCaseId value="MC-3812"/> |
2658 |
| - <testCaseId value="MC-5728"/> |
2659 |
| - <group value="pagebuilder"/> |
2660 |
| - <group value="pagebuilder-text"/> |
2661 |
| - </annotations> |
2662 |
| - <before> |
2663 |
| - <createData entity="_defaultCmsPage" stepKey="createCMSPage" /> |
2664 |
| - <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
2665 |
| - <actionGroup ref="SwitchToVersion4ActionGroup" stepKey="switchToTinyMCE4" /> |
2666 |
| - </before> |
2667 |
| - <after> |
2668 |
| - <deleteData createDataKey="createCMSPage" stepKey="deletePreReqCMSPage" /> |
2669 |
| - <actionGroup ref="logout" stepKey="logout"/> |
2670 |
| - </after> |
2671 |
| - <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage1"> |
2672 |
| - <argument name="CMSPage" value="$$createCMSPage$$"/> |
2673 |
| - </actionGroup> |
2674 |
| - <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup1"> |
2675 |
| - <argument name="group" value="PageBuilderTextContentType"/> |
2676 |
| - </actionGroup> |
2677 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragTextOntoStage"> |
2678 |
| - <argument name="contentType" value="PageBuilderTextContentType"/> |
2679 |
| - </actionGroup> |
2680 |
| - <!-- Drag text into stage --> |
2681 |
| - <comment userInput="Drag text into stage" stepKey="commentDragTextIntoStage"/> |
2682 |
| - <click selector="{{TextOnStage.tinymce('1')}}" stepKey="focusOnEditorArea"/> |
2683 |
| - <seeElement selector="{{TextOnStage.tinymceFocused('1')}}" stepKey="seeFocusedTinyMce"/> |
2684 |
| - <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG1"/> |
2685 |
| - <dontSeeElement selector="{{TextOnStage.tinymceFocused('1')}}" stepKey="dontSeeFocusedTinyMce"/> |
2686 |
| - <!-- Open and save slide out panel --> |
2687 |
| - <comment userInput="Open and save slide out panel" stepKey="commentOpenAndSaveSlideOut"/> |
2688 |
| - <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage"> |
2689 |
| - <argument name="contentType" value="PageBuilderTextContentType"/> |
2690 |
| - </actionGroup> |
2691 |
| - <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/> |
2692 |
| - <!-- Verify TinyMCE is not automatically focused --> |
2693 |
| - <comment userInput="Verify TinyMCE is not automatically focused" stepKey="commentVerifyNotFocused"/> |
2694 |
| - <dontSeeElement selector="{{TextOnStage.tinymceFocused('1')}}" stepKey="dontSeeTinyMceFocused"/> |
2695 |
| - </test> |
2696 | 2650 | </tests>
|
0 commit comments