|
22 | 22 | <group value="pagebuilder-bannerCollageCenter"/>
|
23 | 23 | </annotations>
|
24 | 24 | <!-- Change Appearance -->
|
25 |
| - <comment userInput="Change Appearance" stepKey="commentChangeAppearanceExtended"/> |
26 |
| - <actionGroup ref="openPageBuilderEditPanel" after="dragContentTypeIntoContainer" stepKey="openEditMenuOnStageExtended"> |
| 25 | + <comment userInput="Change Appearance" after="dragContentTypeIntoContainer" stepKey="commentChangeAppearanceExtended"/> |
| 26 | + <actionGroup ref="openPageBuilderEditPanel" after="commentChangeAppearanceExtended" stepKey="openEditMenuOnStageExtended"> |
27 | 27 | <argument name="contentType" value="PageBuilderBannerContentType"/>
|
28 | 28 | </actionGroup>
|
29 | 29 | <actionGroup ref="chooseVisualSelectOption" after="openEditMenuOnStageExtended" stepKey="enterAppearancePropertyExtended">
|
|
45 | 45 | <group value="pagebuilder-bannerCollageCenter"/>
|
46 | 46 | </annotations>
|
47 | 47 | <!-- Change Appearance -->
|
48 |
| - <comment userInput="Change Appearance" stepKey="commentChangeAppearanceExtended"/> |
49 |
| - <actionGroup ref="openPageBuilderEditPanel" after="dragContentTypeIntoContainer2" stepKey="openEditMenuOnStageExtended"> |
| 48 | + <comment userInput="Change Appearance" after="dragContentTypeIntoContainer2" stepKey="commentChangeAppearanceExtended"/> |
| 49 | + <actionGroup ref="openPageBuilderEditPanel" after="commentChangeAppearanceExtended" stepKey="openEditMenuOnStageExtended"> |
50 | 50 | <argument name="contentType" value="PageBuilderBannerContentType"/>
|
51 | 51 | </actionGroup>
|
52 | 52 | <actionGroup ref="chooseVisualSelectOption" after="openEditMenuOnStageExtended" stepKey="enterAppearancePropertyExtended">
|
53 | 53 | <argument name="property" value="PageBuilderBannerCollageCenteredProperty"/>
|
54 | 54 | </actionGroup>
|
55 | 55 | <actionGroup ref="saveEditPanelSettings" after="enterAppearancePropertyExtended" stepKey="saveEditPanelSettingsExtended"/>
|
56 | 56 | </test>
|
| 57 | + <test name="BannerCollageCenterWYSIWYGDisabledInlineEdit" extends="BannerPosterCanInlineEditContent"> |
| 58 | + <annotations> |
| 59 | + <features value="PageBuilder"/> |
| 60 | + <stories value="Banner"/> |
| 61 | + <title value="Collage Center - Inline Edit With WYSIWYG Disabled"/> |
| 62 | + <description value="Verify that a user can inline edit Banner collage center content when WYSIWYG is disabled"/> |
| 63 | + <severity value="MAJOR"/> |
| 64 | + <useCaseId value="MC-521"/> |
| 65 | + <testCaseId value="MC-3949"/> |
| 66 | + <group value="pagebuilder"/> |
| 67 | + <group value="pagebuilder-banner"/> |
| 68 | + <group value="pagebuilder-bannerCollageCenter"/> |
| 69 | + </annotations> |
| 70 | + <before> |
| 71 | + <remove keyForRemoval="enableWYSIWYG"/> |
| 72 | + <remove keyForRemoval="enableTinyMCE4"/> |
| 73 | + <magentoCLI command="config:set cms/wysiwyg/enabled disabled" stepKey="disableWYSIWYG" before="loginAsAdmin"/> |
| 74 | + </before> |
| 75 | + <after> |
| 76 | + <magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG" before="logout"/> |
| 77 | + </after> |
| 78 | + <!-- Change Appearance --> |
| 79 | + <comment userInput="Change Appearance" after="dragContentTypeIntoContainer" stepKey="commentChangeAppearanceExtended"/> |
| 80 | + <actionGroup ref="openPageBuilderEditPanel" after="commentChangeAppearanceExtended" stepKey="openEditMenuOnStageExtended"> |
| 81 | + <argument name="contentType" value="PageBuilderBannerContentType"/> |
| 82 | + </actionGroup> |
| 83 | + <actionGroup ref="chooseVisualSelectOption" after="openEditMenuOnStageExtended" stepKey="enterAppearancePropertyExtended"> |
| 84 | + <argument name="property" value="PageBuilderBannerCollageCenteredProperty"/> |
| 85 | + </actionGroup> |
| 86 | + <actionGroup ref="saveEditPanelSettings" after="enterAppearancePropertyExtended" stepKey="saveEditPanelSettingsExtended"/> |
| 87 | + <actionGroup ref="inlineEditTextAreaFromStage" stepKey="inlineEdit"> |
| 88 | + <argument name="contentType" value="PageBuilderBannerContentType"/> |
| 89 | + <argument name="content" value="{{PageBuilderBannerMessageProperty.value}}"/> |
| 90 | + </actionGroup> |
| 91 | + <executeJS function="return document.querySelector('{{BannerOnConfigurationPanel.textArea}}').value" stepKey="seeMessageText"/> |
| 92 | + <assertEquals stepKey="assertTextAreaValueEditPanel" after="seeMessageText"> |
| 93 | + <expectedResult type="string">{{PageBuilderBannerMessageProperty.value}}</expectedResult> |
| 94 | + <actualResult type="variable">seeMessageText</actualResult> |
| 95 | + </assertEquals> |
| 96 | + <actionGroup ref="assertTextareaContainsValue" stepKey="seeMessageContentStage"> |
| 97 | + <argument name="selector" value="{{PageBuilderStage.inlineTextAreaEditor(PageBuilderBannerContentType.role, '1')}}"/> |
| 98 | + <argument name="value" value="{{PageBuilderBannerMessageProperty.value}}"/> |
| 99 | + </actionGroup> |
| 100 | + <seeElement selector="{{BannerOnFrontend.messageContentTextArea('1', PageBuilderBannerMessageProperty.value)}}" stepKey="seeMessageContentStorefront"/> |
| 101 | + </test> |
| 102 | + <test name="BannerCollageCenterTinyMCE3InlineEdit" extends="BannerPosterCanInlineEditContent"> |
| 103 | + <annotations> |
| 104 | + <features value="PageBuilder"/> |
| 105 | + <stories value="Banner"/> |
| 106 | + <title value="Collage Center - Inline Edit With TinyMCE3 Enabled"/> |
| 107 | + <description value="Verify that a user can inline edit Banner collage center content when TinyMCE3 is enabled"/> |
| 108 | + <severity value="MAJOR"/> |
| 109 | + <useCaseId value="MC-521"/> |
| 110 | + <testCaseId value="MC-3951"/> |
| 111 | + <group value="pagebuilder"/> |
| 112 | + <group value="pagebuilder-banner"/> |
| 113 | + <group value="pagebuilder-bannerCollageCenter"/> |
| 114 | + </annotations> |
| 115 | + <before> |
| 116 | + <remove keyForRemoval="enableTinyMCE4"/> |
| 117 | + <magentoCLI command="config:set cms/wysiwyg/editor Magento_Tinymce3/tinymce3Adapter" stepKey="enableTinyMCE3" before="loginAsAdmin"/> |
| 118 | + </before> |
| 119 | + <after> |
| 120 | + <magentoCLI command="config:set cms/wysiwyg/editor mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter" stepKey="enableTinyMCE4" before="logout"/> |
| 121 | + </after> |
| 122 | + <!-- Change Appearance --> |
| 123 | + <comment userInput="Change Appearance" after="dragContentTypeIntoContainer" stepKey="commentChangeAppearanceExtended"/> |
| 124 | + <actionGroup ref="openPageBuilderEditPanel" after="commentChangeAppearanceExtended" stepKey="openEditMenuOnStageExtended"> |
| 125 | + <argument name="contentType" value="PageBuilderBannerContentType"/> |
| 126 | + </actionGroup> |
| 127 | + <actionGroup ref="chooseVisualSelectOption" after="openEditMenuOnStageExtended" stepKey="enterAppearancePropertyExtended"> |
| 128 | + <argument name="property" value="PageBuilderBannerCollageCenteredProperty"/> |
| 129 | + </actionGroup> |
| 130 | + <actionGroup ref="saveEditPanelSettings" after="enterAppearancePropertyExtended" stepKey="saveEditPanelSettingsExtended"/> |
| 131 | + <actionGroup ref="inlineEditTextAreaFromStage" stepKey="inlineEdit"> |
| 132 | + <argument name="contentType" value="PageBuilderBannerContentType"/> |
| 133 | + <argument name="content" value="{{PageBuilderBannerMessageProperty.value}}"/> |
| 134 | + </actionGroup> |
| 135 | + <actionGroup ref="assertTextareaContainsValue" stepKey="seeMessageContentStage"> |
| 136 | + <argument name="selector" value="{{PageBuilderStage.inlineTextAreaEditor(PageBuilderBannerContentType.role, '1')}}"/> |
| 137 | + <argument name="value" value="{{PageBuilderBannerMessageProperty.value}}"/> |
| 138 | + </actionGroup> |
| 139 | + <seeElement selector="{{BannerOnFrontend.messageContentTextArea('1', PageBuilderBannerMessageProperty.value)}}" stepKey="seeMessageContentStorefront"/> |
| 140 | + </test> |
57 | 141 | <test name="BannerCollageCenterMobileWithMobileImageValues">
|
58 | 142 | <annotations>
|
59 | 143 | <features value="PageBuilder"/>
|
60 | 144 | <stories value="Banner"/>
|
61 |
| - <title value="Collage Center - Check desktop and mobile images of a collage left banner with mobile image"/> |
62 |
| - <description value="Check desktop and mobile images of a collage left banner with mobile image"/> |
| 145 | + <title value="Collage Center - Check desktop and mobile images of a collage center banner with mobile image"/> |
| 146 | + <description value="Check desktop and mobile images of a collage center banner with mobile image"/> |
63 | 147 | <severity value="CRITICAL"/>
|
64 | 148 | <useCaseId value="MAGETWO-83553"/>
|
65 | 149 | <testCaseId value="MAGETWO-89591"/>
|
|
143 | 227 | <annotations>
|
144 | 228 | <features value="PageBuilder"/>
|
145 | 229 | <stories value="Banner"/>
|
146 |
| - <title value="Collage Center - Check desktop and mobile images of a collage left banner without mobile image"/> |
147 |
| - <description value="Check desktop and mobile images of a collage left banner without mobile image"/> |
| 230 | + <title value="Collage Center - Check desktop and mobile images of a collage center banner without mobile image"/> |
| 231 | + <description value="Check desktop and mobile images of a collage center banner without mobile image"/> |
148 | 232 | <severity value="CRITICAL"/>
|
149 | 233 | <useCaseId value="MAGETWO-83553"/>
|
150 | 234 | <testCaseId value="MAGETWO-89588"/>
|
|
0 commit comments