|
1172 | 1172 | <argument name="containerTargetIndex" value="1" />
|
1173 | 1173 | </actionGroup>
|
1174 | 1174 | </test>
|
1175 |
| - <test name="TabsRendersAndIsInteractiveAfterMovingToAnotherContainer"> |
| 1175 | + <test name="TabsMovesTabs"> |
1176 | 1176 | <annotations>
|
1177 | 1177 | <features value="PageBuilder"/>
|
1178 | 1178 | <stories value="Tab"/>
|
|
1193 | 1193 | <after>
|
1194 | 1194 | <actionGroup ref="logout" stepKey="logout"/>
|
1195 | 1195 | </after>
|
| 1196 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
| 1197 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 1198 | + </actionGroup> |
1196 | 1199 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
|
1197 | 1200 | <argument name="group" value="PageBuilderTabsContentType"/>
|
1198 | 1201 | </actionGroup>
|
|
1204 | 1207 | <argument name="containerTargetType" value="PageBuilderRowContentType"/>
|
1205 | 1208 | <argument name="containerTargetIndex" value="2"/>
|
1206 | 1209 | </actionGroup>
|
| 1210 | + <actionGroup ref="validateContentTypeInsideContainerStage" stepKey="validateTabsInsideSecondRowOnStage"> |
| 1211 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 1212 | + <argument name="containerTargetType" value="PageBuilderRowContentType"/> |
| 1213 | + <argument name="positionInContainer" value="1"/> |
| 1214 | + <argument name="contentTypeIndex" value="1"/> |
| 1215 | + <argument name="containerTargetIndex" value="2"/> |
| 1216 | + </actionGroup> |
1207 | 1217 | <actionGroup ref="dragContentTypeToStageByIndex" stepKey="dragColumnContentTypeToSecondRowContentTypeOnStage">
|
1208 | 1218 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
1209 | 1219 | <argument name="contentTypeNumber" value="1"/>
|
|
1214 | 1224 | <argument name="containerTargetType" value="PageBuilderColumnContentType"/>
|
1215 | 1225 | <argument name="containerTargetIndex" value="1"/>
|
1216 | 1226 | </actionGroup>
|
| 1227 | + <actionGroup ref="validateContentTypeInsideContainerStage" stepKey="validateTabsInsideFirstColumnOnStage"> |
| 1228 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 1229 | + <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
| 1230 | + <argument name="positionInContainer" value="1"/> |
| 1231 | + <argument name="contentTypeIndex" value="1"/> |
| 1232 | + <argument name="containerTargetIndex" value="1"/> |
| 1233 | + </actionGroup> |
1217 | 1234 | <waitForElementVisible selector="{{TabOnStage.tabHeaderItemActive('1')}}" stepKey="seeFirstTabAsActive"/>
|
1218 | 1235 | <actionGroup ref="duplicateSmallContentType" stepKey="duplicateSmallContentType">
|
1219 | 1236 | <argument name="section" value="TabOnStage"/>
|
|
1231 | 1248 | </actionGroup>
|
1232 | 1249 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsRow1"/>
|
1233 | 1250 | <waitForElementVisible selector="{{TabOnStage.tabHeaderItemActive('2')}}" stepKey="seeSecondTabAsActiveAfterChangingRowAppearance"/>
|
1234 |
| - <click selector="{{TabOnStage.tabHeader('1')}}" stepKey="switchToDefaultTab"/> |
1235 |
| - <waitForElementVisible selector="{{TabOnStage.tabHeaderItemActive('1')}}" stepKey="seeFirstTabAsActiveAfterClickingOnIt"/> |
| 1251 | + <actionGroup ref="switchTabs" stepKey="switchTabsStage"> |
| 1252 | + <argument name="section" value="TabOnStage"/> |
| 1253 | + <argument name="from" value="2"/> |
| 1254 | + <argument name="to" value="1"/> |
| 1255 | + </actionGroup> |
| 1256 | + <actionGroup ref="saveCmsPage" stepKey="saveCmsPage"/> |
| 1257 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 1258 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 1259 | + </actionGroup> |
| 1260 | + <waitForPageLoad stepKey="waitForPageLoadStoreFront" time="30"/> |
| 1261 | + <actionGroup ref="switchTabs" stepKey="switchTabsStorefront"> |
| 1262 | + <argument name="section" value="TabOnStorefront"/> |
| 1263 | + <argument name="from" value="1"/> |
| 1264 | + <argument name="to" value="2"/> |
| 1265 | + </actionGroup> |
1236 | 1266 | </test>
|
1237 | 1267 | </tests>
|
0 commit comments