|
1522 | 1522 | <actualResult type="variable">actualBoxSizingStyle</actualResult>
|
1523 | 1523 | </assertEquals>
|
1524 | 1524 | </test>
|
1525 |
| - <test name="SlideItemInlineEditStaysFocusedWhileDraggingAndDropping"> |
1526 |
| - <annotations> |
1527 |
| - <features value="PageBuilder"/> |
1528 |
| - <stories value="Slider"/> |
1529 |
| - <title value="Slide Item - Inline Edit Stays Focused While Dragging And Dropping"/> |
1530 |
| - <description value="Verify that the Slide inline edit stays in focus while users drag and drop content"/> |
1531 |
| - <severity value="MAJOR"/> |
1532 |
| - <useCaseId value="MC-937"/> |
1533 |
| - <testCaseId value="MC-3814"/> |
1534 |
| - <group value="pagebuilder"/> |
1535 |
| - <group value="pagebuilder-slide"/> |
1536 |
| - </annotations> |
1537 |
| - <before> |
1538 |
| - <magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG"/> |
1539 |
| - <magentoCLI command="config:set cms/wysiwyg/editor mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter" stepKey="enableTinyMCE4"/> |
1540 |
| - <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
1541 |
| - <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
1542 |
| - <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
1543 |
| - </before> |
1544 |
| - <after> |
1545 |
| - <actionGroup ref="logout" stepKey="logout"/> |
1546 |
| - </after> |
1547 |
| - <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
1548 |
| - <argument name="contentType" value="PageBuilderSliderContentType"/> |
1549 |
| - </actionGroup> |
1550 |
| - <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup"> |
1551 |
| - <argument name="group" value="PageBuilderSliderContentType"/> |
1552 |
| - </actionGroup> |
1553 |
| - <!-- Add Slider --> |
1554 |
| - <comment userInput="Add Slider" stepKey="commentAddSlider"/> |
1555 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragSliderIntoStage"> |
1556 |
| - <argument name="contentType" value="PageBuilderSliderContentType"/> |
1557 |
| - </actionGroup> |
1558 |
| - <!-- Check that user can drag column when inline mode active --> |
1559 |
| - <comment userInput="Check that user can drag column when inline mode active" stepKey="commentDragColumnIntoStage"/> |
1560 |
| - <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroupForColumn"> |
1561 |
| - <argument name="group" value="PageBuilderColumnContentType"/> |
1562 |
| - </actionGroup> |
1563 |
| - <click selector="{{PageBuilderStage.inlineWYSIWYGEditor(PageBuilderSlideContentType.role, '1')}}" stepKey="focusOnEditorArea"/> |
1564 |
| - <waitForElementVisible selector="{{PageBuilderStage.inlineWYSIWYGEditorPanel(PageBuilderSlideContentType.role, '1')}}" stepKey="waitForEditorPanel"/> |
1565 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragColumnOntoStage"> |
1566 |
| - <argument name="contentType" value="PageBuilderColumnContentType"/> |
1567 |
| - </actionGroup> |
1568 |
| - <seeElement selector="{{PageBuilderStage.inlineWYSIWYGEditorPanel(PageBuilderSlideContentType.role, '1')}}" stepKey="seeEditorPanel"/> |
1569 |
| - <!-- Verify Content Type Option Menus Are Hidden --> |
1570 |
| - <comment userInput="Verify Content Type Option Menus Are Hidden" stepKey="commentOptionsHidden"/> |
1571 |
| - <moveMouseOver selector="{{PageBuilderStage.contentTypeInStage(PageBuilderSliderContentType.role)}}" stepKey="mouseOverSlider"/> |
1572 |
| - <waitForPageLoad stepKey="waitForPageLoad"/> |
1573 |
| - <seeElementInDOM selector="{{PageBuilderContentTypeOptionsMenu.contentTypeOptionsMenu(PageBuilderSliderContentType.role)}}" stepKey="seeSliderOptionsInDOM"/> |
1574 |
| - <dontSeeElement selector="{{PageBuilderContentTypeOptionsMenu.contentTypeOptionsMenu(PageBuilderSliderContentType.role)}}" stepKey="dontSeeSliderOptions"/> |
1575 |
| - <moveMouseOver selector="{{PageBuilderStage.contentTypeInStage(PageBuilderColumnContentType.role)}}" stepKey="mouseOverColumn"/> |
1576 |
| - <waitForPageLoad stepKey="waitForPageLoad2"/> |
1577 |
| - <seeElementInDOM selector="{{PageBuilderContentTypeOptionsMenu.contentTypeOptionsMenu(PageBuilderColumnContentType.role)}}" stepKey="seeColumnOptionsInDOM"/> |
1578 |
| - <dontSeeElement selector="{{PageBuilderContentTypeOptionsMenu.contentTypeOptionsMenu(PageBuilderColumnContentType.role)}}" stepKey="dontSeeColumnOptions"/> |
1579 |
| - <!-- Verify Editor Still In Focus 2 --> |
1580 |
| - <comment userInput="Verify Editor Still In Focus 2" stepKey="commentEditorInFocus2"/> |
1581 |
| - <seeElement selector="{{PageBuilderStage.inlineWYSIWYGEditorPanel(PageBuilderSlideContentType.role, '1')}}" stepKey="seeEditorPanel2"/> |
1582 |
| - </test> |
1583 | 1525 | <test name="SlideContentVariableCanWrap">
|
1584 | 1526 | <annotations>
|
1585 | 1527 | <features value="PageBuilder"/>
|
|
0 commit comments