|
1153 | 1153 | <argument name="contentBlockIndex" value="1"/>
|
1154 | 1154 | </actionGroup>
|
1155 | 1155 | </test>
|
| 1156 | + <test name="SliderCanBeDeletedAfterAccidentalDrag"> |
| 1157 | + <annotations> |
| 1158 | + <features value="Pagebuilder: Slider"/> |
| 1159 | + <title value="After accidental drag slider should still be removable"/> |
| 1160 | + <description value="You should still be able to remove a slider after accidentally moving it within the same container"/> |
| 1161 | + <severity value="CRITICAL"/> |
| 1162 | + <testCaseId value="MAGETWO-92364"/> |
| 1163 | + <group value="pagebuilder"/> |
| 1164 | + <group value="pagebuilder-slider"/> |
| 1165 | + <group value="pagebuilder-sliderCommon"/> |
| 1166 | + </annotations> |
| 1167 | + <before> |
| 1168 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 1169 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 1170 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 1171 | + </before> |
| 1172 | + <after> |
| 1173 | + <actionGroup ref="logout" stepKey="logout"/> |
| 1174 | + </after> |
| 1175 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup"> |
| 1176 | + <argument name="group" value="PageBuilderSliderContentBlock"/> |
| 1177 | + </actionGroup> |
| 1178 | + <actionGroup ref="dragContentBlockToStageAndExpectEditPanel" stepKey="dragSliderOntoStage"> |
| 1179 | + <argument name="contentBlockType" value="PageBuilderSliderContentBlock"/> |
| 1180 | + </actionGroup> |
| 1181 | + <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/> |
| 1182 | + <actionGroup ref="unfocusSlideOptions" stepKey="unfocusSlideOptions"/> |
| 1183 | + <actionGroup ref="moveContentTypeToContainer" stepKey="moveSliderIntoExistingRow"> |
| 1184 | + <argument name="contentBlockType" value="PageBuilderSliderContentBlock"/> |
| 1185 | + <argument name="contentBlockIndex" value="1"/> |
| 1186 | + <argument name="containerTargetType" value="PageBuilderRowContentBlock"/> |
| 1187 | + <argument name="containerTargetIndex" value="1"/> |
| 1188 | + </actionGroup> |
| 1189 | + <actionGroup ref="removeContentBlockFromStage" stepKey="removeSliderFromStage"> |
| 1190 | + <argument name="contentBlockType" value="PageBuilderSliderContentBlock"/> |
| 1191 | + </actionGroup> |
| 1192 | + <dontSee selector="{{PageBuilderActionsSection.contentBlockInStage(PageBuilderSliderContentBlock.role)}}" stepKey="dontSeeSliderInContent" /> |
| 1193 | + </test> |
1156 | 1194 | </tests>
|
0 commit comments