|
2179 | 2179 | </actionGroup>
|
2180 | 2180 | <see userInput="{{PageBuilderSlideItemContent1.value}}" stepKey="seeTextOnStorefront"/>
|
2181 | 2181 | </test>
|
| 2182 | + <test name="SlideInlineTextEditingWithDisabledWYSIWYG"> |
| 2183 | + <annotations> |
| 2184 | + <features value="PageBuilder"/> |
| 2185 | + <stories value="Slider"/> |
| 2186 | + <title value="Edit slide text inline in textarea and see on storefront"/> |
| 2187 | + <description value="Verify that user are able to add text into Slide Content Type and see it on storefront"/> |
| 2188 | + <severity value="MAJOR"/> |
| 2189 | + <useCaseId value="MC-937"/> |
| 2190 | + <testCaseId value="MC-3813"/> |
| 2191 | + <group value="pagebuilder"/> |
| 2192 | + <group value="pagebuilder-slide"/> |
| 2193 | + </annotations> |
| 2194 | + <before> |
| 2195 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 2196 | + <actionGroup ref="DisabledWYSIWYG" stepKey="disableWYSIWYG"/> |
| 2197 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 2198 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 2199 | + </before> |
| 2200 | + <after> |
| 2201 | + <actionGroup ref="logout" stepKey="logout"/> |
| 2202 | + </after> |
| 2203 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
| 2204 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 2205 | + </actionGroup> |
| 2206 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup"> |
| 2207 | + <argument name="group" value="PageBuilderSliderContentType"/> |
| 2208 | + </actionGroup> |
| 2209 | + <actionGroup ref="dragContentTypeToStageAndExpectEditPanel" stepKey="dragSliderIntoStage"> |
| 2210 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 2211 | + </actionGroup> |
| 2212 | + <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/> |
| 2213 | + <!--Input text into stage--> |
| 2214 | + <comment userInput="Input text into stage" stepKey="commentInputTextIntoStage"/> |
| 2215 | + <click selector="{{SlideOnBackend.textareaPlaceholder('1')}}" stepKey="focusOnEditorArea"/> |
| 2216 | + <fillField selector="{{SlideOnBackend.textareaPlaceholder('1')}}" userInput="{{PageBuilderSlideItemContent1.value}}" stepKey="fillTextToTextArea"/> |
| 2217 | + <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG1"/> |
| 2218 | + <!--Verify inserted text on edit panel --> |
| 2219 | + <comment userInput="Verify inserted text on edit panel" stepKey="commentVerifyTextOnSlideout"/> |
| 2220 | + <actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditPanel1"> |
| 2221 | + <argument name="section" value="SlideOnBackend"/> |
| 2222 | + </actionGroup> |
| 2223 | + <waitForElementVisible selector="{{SlideOnBackend.textareaPlaceholder('1')}}" stepKey="textareaVisible"/> |
| 2224 | + <seeInField selector="{{SlideOnBackend.textareaPlaceholder('1')}}" userInput="{{PageBuilderSlideItemContent1.value}}" stepKey="seeInField"/> |
| 2225 | + <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings2"/> |
| 2226 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/> |
| 2227 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/> |
| 2228 | + <!--Verify Slide Content Type on stage after saving cms page--> |
| 2229 | + <comment userInput="Verify text in slide content type on stage" stepKey="commentVerifySlideOnStage"/> |
| 2230 | + <waitForElementVisible selector="{{SlideOnBackend.textareaPlaceholder('1')}}" stepKey="textareaVisible1"/> |
| 2231 | + <seeInField selector="{{SlideOnBackend.textareaPlaceholder('1')}}" userInput="{{PageBuilderSlideItemContent1.value}}" stepKey="seeInField1"/> |
| 2232 | + <!--Verify Slide Content Type on storefront--> |
| 2233 | + <comment userInput="Verify text in Slide Content Type on storefront" stepKey="commentVerifySlideContenTypeOnStorefront"/> |
| 2234 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 2235 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 2236 | + </actionGroup> |
| 2237 | + <see userInput="{{PageBuilderSlideItemContent1.value}}" stepKey="seeTextOnStorefront"/> |
| 2238 | + </test> |
2182 | 2239 | <test name="SlideInlineTextEditingAvailability">
|
2183 | 2240 | <annotations>
|
2184 | 2241 | <features value="PageBuilder"/>
|
|
0 commit comments