|
1175 | 1175 | <test name="TabsMovesTabs">
|
1176 | 1176 | <annotations>
|
1177 | 1177 | <features value="PageBuilder"/>
|
1178 |
| - <stories value="Tab"/> |
| 1178 | + <stories value="Tabs"/> |
1179 | 1179 | <title value="Tab Group - Validate Proper Rendering and Interactivity After Moving To Different Container"/>
|
1180 | 1180 | <description value="Validate that tabs renders itself properly and retains its interactivity after moving to a different parent container."/>
|
1181 | 1181 | <severity value="MAJOR"/>
|
|
1214 | 1214 | <argument name="contentTypeIndex" value="1"/>
|
1215 | 1215 | <argument name="containerTargetIndex" value="2"/>
|
1216 | 1216 | </actionGroup>
|
1217 |
| - <actionGroup ref="dragContentTypeToStageByIndex" stepKey="dragColumnContentTypeToSecondRowContentTypeOnStage"> |
| 1217 | + <actionGroup ref="dragContentTypeToContainer" stepKey="dragColumnContentTypeToFirstRowContentTypeOnStage"> |
1218 | 1218 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
1219 |
| - <argument name="contentTypeNumber" value="1"/> |
| 1219 | + <argument name="contentTypeIndex" value="1"/> |
| 1220 | + <argument name="containerTargetType" value="PageBuilderRowContentType"/> |
| 1221 | + <argument name="containerTargetIndex" value="1"/> |
1220 | 1222 | </actionGroup>
|
1221 | 1223 | <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="loseFocus"/>
|
1222 | 1224 | <actionGroup ref="moveContentTypeToContainer" stepKey="moveTabsIntoFirstColumn">
|
|
1231 | 1233 | <argument name="contentTypeIndex" value="1"/>
|
1232 | 1234 | <argument name="containerTargetIndex" value="1"/>
|
1233 | 1235 | </actionGroup>
|
1234 |
| - <waitForElementVisible selector="{{TabOnStage.tabHeaderItemActive('1')}}" stepKey="seeFirstTabAsActive"/> |
| 1236 | + <seeElement selector="{{TabOnStage.tabHeaderItemActive('1')}}" stepKey="seeFirstTabAsActive"/> |
1235 | 1237 | <actionGroup ref="duplicateSmallContentType" stepKey="duplicateSmallContentType">
|
1236 | 1238 | <argument name="section" value="TabOnStage"/>
|
1237 | 1239 | <argument name="targetIndex" value="1"/>
|
1238 | 1240 | </actionGroup>
|
1239 |
| - <waitForElementVisible selector="{{TabOnStage.tabHeaderItemActive('2')}}" stepKey="seeSecondTabAsActiveAfterDuplicating"/> |
| 1241 | + <seeElement selector="{{TabOnStage.tabHeaderItemActive('2')}}" stepKey="seeSecondTabAsActiveAfterDuplicating"/> |
1240 | 1242 | <!-- Change appearance of row and re-evaluate -->
|
1241 | 1243 | <comment userInput="Change appearance of row and re-evaluate" stepKey="commentChangeAppearanceOfRowAndReevaluate"/>
|
1242 | 1244 | <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="loseFocus2"/>
|
1243 |
| - <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStageForFirstRow"> |
| 1245 | + <actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStageForFirstRow"> |
1244 | 1246 | <argument name="contentType" value="PageBuilderRowContentType"/>
|
| 1247 | + <argument name="contentTypeIndex" value="1"/> |
| 1248 | + <argument name="contentTypeXCoordinate" value="10"/> |
| 1249 | + <argument name="contentTypeYCoordinate" value="0"/> |
1245 | 1250 | </actionGroup>
|
1246 | 1251 | <actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearanceRow1">
|
1247 | 1252 | <argument name="property" value="PageBuilderRowAppearance_FullWidth"/>
|
1248 | 1253 | </actionGroup>
|
1249 | 1254 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsRow1"/>
|
1250 |
| - <waitForElementVisible selector="{{TabOnStage.tabHeaderItemActive('2')}}" stepKey="seeSecondTabAsActiveAfterChangingRowAppearance"/> |
| 1255 | + <seeElement selector="{{TabOnStage.tabHeaderItemActive('2')}}" stepKey="seeSecondTabAsActiveAfterChangingRowAppearance"/> |
1251 | 1256 | <actionGroup ref="switchTabs" stepKey="switchTabsStage">
|
1252 | 1257 | <argument name="section" value="TabOnStage"/>
|
1253 | 1258 | <argument name="from" value="2"/>
|
1254 | 1259 | <argument name="to" value="1"/>
|
1255 | 1260 | </actionGroup>
|
1256 | 1261 | <actionGroup ref="saveCmsPage" stepKey="saveCmsPage"/>
|
| 1262 | + <!-- Validate Storefront --> |
| 1263 | + <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/> |
1257 | 1264 | <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront">
|
1258 | 1265 | <argument name="contentType" value="PageBuilderTabsContentType"/>
|
1259 | 1266 | </actionGroup>
|
1260 |
| - <waitForPageLoad stepKey="waitForPageLoadStoreFront" time="30"/> |
| 1267 | + <actionGroup ref="validateContentTypeInsideContainerStorefront" stepKey="validateTabsInsideFirstColumnOnStorefront"> |
| 1268 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 1269 | + <argument name="contentTypeIndex" value="1"/> |
| 1270 | + <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
| 1271 | + <argument name="containerTargetIndex" value="1"/> |
| 1272 | + </actionGroup> |
1261 | 1273 | <actionGroup ref="switchTabs" stepKey="switchTabsStorefront">
|
1262 | 1274 | <argument name="section" value="TabOnStorefront"/>
|
1263 | 1275 | <argument name="from" value="1"/>
|
|
0 commit comments