|
1323 | 1323 | <group value="pagebuilder"/>
|
1324 | 1324 | <group value="pagebuilder-block"/>
|
1325 | 1325 | <group value="pagebuilder-banner"/>
|
| 1326 | + <group value="pagebuilder-bannerPoster"/> |
| 1327 | + <group value="pagebuilder-wordWrap"/> |
1326 | 1328 | </annotations>
|
1327 | 1329 | <before>
|
1328 | 1330 | <createData entity="_defaultBlock" stepKey="createPreReqBlock" />
|
|
1342 | 1344 | <actionGroup ref="dragContentTypeToStage" stepKey="dragColumnIntoStage">
|
1343 | 1345 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
1344 | 1346 | </actionGroup>
|
| 1347 | + <!-- Duplicate Column to create small width --> |
| 1348 | + <comment userInput="Duplicate Column to create small width" stepKey="commentDuplicateColumnToCreateSmallWidth"/> |
| 1349 | + <actionGroup ref="duplicateContentType" stepKey="duplicateColumn"> |
| 1350 | + <argument name="contentType" value="PageBuilderColumnContentType"/> |
| 1351 | + <argument name="targetIndex" value="1"/> |
| 1352 | + <argument name="expectedIndex" value="2"/> |
| 1353 | + <argument name="contentTypeXCoordinate" value="10"/> |
| 1354 | + <argument name="contentTypeYCoordinate" value="0"/> |
| 1355 | + </actionGroup> |
1345 | 1356 | <!-- Add content type to Column -->
|
1346 | 1357 | <comment userInput="Add content type to Column" stepKey="addContentTypeToColumn"/>
|
1347 | 1358 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupElements">
|
|
1363 | 1374 | </actionGroup>
|
1364 | 1375 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsInBlock"/>
|
1365 | 1376 | <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="unFocusEditor"/>
|
1366 |
| - <!-- Resize Columns --> |
1367 |
| - <comment userInput="Resize Columns" stepKey="commentResizeColumns"/> |
1368 |
| - <executeJS function="return document.querySelector('{{ColumnOnBackend.columnResizeGridLine('1')}}').clientWidth" stepKey="guideWidth"/> |
1369 |
| - <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('3')}}" x="$guideWidth" stepKey="resizeColumn"/> |
1370 |
| - <waitForPageLoad stepKey="waitForDragAndDrop"/> |
1371 | 1377 | <click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="saveBlock"/>
|
1372 | 1378 | <waitForPageLoad time="30" stepKey="waitForStageToLoad"/>
|
1373 | 1379 | <!-- Go to CMS Page and choose Block -->
|
|
1392 | 1398 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
1393 | 1399 | <!-- Validate Height Before Save -->
|
1394 | 1400 | <comment userInput="Validate Height Before Save" stepKey="commentValidateBeforeSave"/>
|
1395 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStage"> |
| 1401 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStage"> |
1396 | 1402 | <argument name="page" value="BannerOnFrontend"/>
|
1397 | 1403 | <argument name="height" value="80"/>
|
1398 | 1404 | </actionGroup>
|
1399 | 1405 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
|
1400 | 1406 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
|
1401 | 1407 | <!-- Validate Height After Save -->
|
1402 | 1408 | <comment userInput="Validate Height After Save" stepKey="commentValidateAfterSave"/>
|
1403 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapAfterSave"> |
| 1409 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightAfterSave"> |
1404 | 1410 | <argument name="page" value="BannerOnFrontend"/>
|
1405 | 1411 | <argument name="height" value="80"/>
|
1406 | 1412 | </actionGroup>
|
|
1409 | 1415 | </actionGroup>
|
1410 | 1416 | <!-- Validate Height Storefront -->
|
1411 | 1417 | <comment userInput="Validate Height Storefront" stepKey="commentValidateStorefront"/>
|
1412 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStorefront"> |
| 1418 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStorefront"> |
1413 | 1419 | <argument name="page" value="BannerOnFrontend"/>
|
1414 | 1420 | <argument name="height" value="50"/>
|
1415 | 1421 | </actionGroup>
|
|
1426 | 1432 | <group value="pagebuilder"/>
|
1427 | 1433 | <group value="pagebuilder-block"/>
|
1428 | 1434 | <group value="pagebuilder-banner"/>
|
| 1435 | + <group value="pagebuilder-bannerCollageLeft"/> |
| 1436 | + <group value="pagebuilder-wordWrap"/> |
1429 | 1437 | </annotations>
|
| 1438 | + <comment userInput="keyForRemoval" stepKey="duplicateColumn"/> |
1430 | 1439 | <actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearanceProperty">
|
1431 | 1440 | <argument name="property" value="PageBuilderAppearance_CollageLeft"/>
|
1432 | 1441 | </actionGroup>
|
1433 |
| - <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('6')}}" x="$guideWidth" stepKey="resizeColumn"/> |
1434 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStage"> |
| 1442 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStage"> |
1435 | 1443 | <argument name="page" value="BannerOnFrontend"/>
|
1436 | 1444 | <argument name="height" value="120"/>
|
1437 | 1445 | </actionGroup>
|
1438 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapAfterSave"> |
| 1446 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightAfterSave"> |
1439 | 1447 | <argument name="page" value="BannerOnFrontend"/>
|
1440 | 1448 | <argument name="height" value="120"/>
|
1441 | 1449 | </actionGroup>
|
1442 | 1450 | </test>
|
1443 | 1451 | <test name="BlockSlidePosterContentCanWordWrap" extends="BlockBannerPosterContentCanWordWrap">
|
1444 | 1452 | <annotations>
|
1445 | 1453 | <features value="PageBuilder"/>
|
1446 |
| - <stories value="Slider"/> |
| 1454 | + <stories value="Block"/> |
1447 | 1455 | <title value="Slide Poster Content Can Word Wrap In Block"/>
|
1448 | 1456 | <description value="A user can see slide poster content word wrap to multiple lines in a Block"/>
|
1449 | 1457 | <severity value="CRITICAL"/>
|
|
1453 | 1461 | <group value="pagebuilder-block"/>
|
1454 | 1462 | <group value="pagebuilder-slide"/>
|
1455 | 1463 | <group value="pagebuilder-slideItemPoster"/>
|
| 1464 | + <group value="pagebuilder-wordWrap"/> |
1456 | 1465 | </annotations>
|
1457 | 1466 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupElements">
|
1458 | 1467 | <argument name="group" value="PageBuilderSliderContentType"/>
|
|
1468 | 1477 | <actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditMenuOnStage">
|
1469 | 1478 | <argument name="section" value="SlideOnBackend"/>
|
1470 | 1479 | </actionGroup>
|
1471 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStage"> |
| 1480 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStage"> |
1472 | 1481 | <argument name="page" value="SlideOnFrontend"/>
|
1473 | 1482 | <argument name="height" value="80"/>
|
1474 | 1483 | </actionGroup>
|
1475 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapAfterSave"> |
| 1484 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightAfterSave"> |
1476 | 1485 | <argument name="page" value="SlideOnFrontend"/>
|
1477 | 1486 | <argument name="height" value="80"/>
|
1478 | 1487 | </actionGroup>
|
1479 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStorefront"> |
| 1488 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStorefront"> |
1480 | 1489 | <argument name="page" value="SlideOnFrontend"/>
|
1481 | 1490 | <argument name="height" value="50"/>
|
1482 | 1491 | </actionGroup>
|
1483 | 1492 | </test>
|
1484 | 1493 | <test name="BlockSlideCollageLeftContentCanWordWrap" extends="BlockBannerPosterContentCanWordWrap">
|
1485 | 1494 | <annotations>
|
1486 | 1495 | <features value="PageBuilder"/>
|
1487 |
| - <stories value="Slider"/> |
| 1496 | + <stories value="Block"/> |
1488 | 1497 | <title value="Slide Collage Left Content Can Word Wrap In Block"/>
|
1489 | 1498 | <description value="A user can see slide collage left content word wrap to multiple lines in a Block"/>
|
1490 | 1499 | <severity value="CRITICAL"/>
|
1491 | 1500 | <useCaseId value="MC-4965"/>
|
1492 | 1501 | <testCaseId value="MC-5645"/>
|
1493 | 1502 | <group value="pagebuilder"/>
|
1494 | 1503 | <group value="pagebuilder-block"/>
|
1495 |
| - <group value="pagebuilder-slider"/> |
| 1504 | + <group value="pagebuilder-slide"/> |
1496 | 1505 | <group value="pagebuilder-slideItemCollageLeft"/>
|
| 1506 | + <group value="pagebuilder-wordWrap"/> |
1497 | 1507 | </annotations>
|
| 1508 | + <comment userInput="keyForRemoval" stepKey="duplicateColumn"/> |
1498 | 1509 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupElements">
|
1499 | 1510 | <argument name="group" value="PageBuilderSliderContentType"/>
|
1500 | 1511 | </actionGroup>
|
|
1506 | 1517 | <argument name="contentType" value="PageBuilderSliderContentType"/>
|
1507 | 1518 | <argument name="content" value="{{PageBuilderMessageProperty_WordBreak.value}}"/>
|
1508 | 1519 | </actionGroup>
|
1509 |
| - <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('6')}}" x="$guideWidth" stepKey="resizeColumn"/> |
1510 | 1520 | <actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditMenuOnStage">
|
1511 | 1521 | <argument name="section" value="SlideOnBackend"/>
|
1512 | 1522 | </actionGroup>
|
1513 | 1523 | <actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearanceProperty">
|
1514 | 1524 | <argument name="property" value="PageBuilderAppearance_CollageLeft"/>
|
1515 | 1525 | </actionGroup>
|
1516 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStage"> |
| 1526 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStage"> |
1517 | 1527 | <argument name="page" value="SlideOnFrontend"/>
|
1518 | 1528 | <argument name="height" value="120"/>
|
1519 | 1529 | </actionGroup>
|
1520 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapAfterSave"> |
| 1530 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightAfterSave"> |
1521 | 1531 | <argument name="page" value="SlideOnFrontend"/>
|
1522 | 1532 | <argument name="height" value="120"/>
|
1523 | 1533 | </actionGroup>
|
1524 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStorefront"> |
| 1534 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStorefront"> |
1525 | 1535 | <argument name="page" value="SlideOnFrontend"/>
|
1526 | 1536 | <argument name="height" value="50"/>
|
1527 | 1537 | </actionGroup>
|
1528 | 1538 | </test>
|
1529 | 1539 | <test name="BlockTextContentCanWordWrap" extends="BlockBannerPosterContentCanWordWrap">
|
1530 | 1540 | <annotations>
|
1531 | 1541 | <features value="PageBuilder"/>
|
1532 |
| - <stories value="Text"/> |
| 1542 | + <stories value="Block"/> |
1533 | 1543 | <title value="Text Content Can Word Wrap In Block"/>
|
1534 | 1544 | <description value="A user can see text content word wrap to multiple lines in a Block"/>
|
1535 | 1545 | <severity value="CRITICAL"/>
|
|
1538 | 1548 | <group value="pagebuilder"/>
|
1539 | 1549 | <group value="pagebuilder-block"/>
|
1540 | 1550 | <group value="pagebuilder-text"/>
|
| 1551 | + <group value="pagebuilder-wordWrap"/> |
1541 | 1552 | </annotations>
|
| 1553 | + <actionGroup ref="duplicateContentType" after="duplicateColumn" stepKey="duplicateColumnAgain"> |
| 1554 | + <argument name="contentType" value="PageBuilderColumnContentType"/> |
| 1555 | + <argument name="targetIndex" value="1"/> |
| 1556 | + <argument name="expectedIndex" value="2"/> |
| 1557 | + <argument name="contentTypeXCoordinate" value="10"/> |
| 1558 | + <argument name="contentTypeYCoordinate" value="0"/> |
| 1559 | + </actionGroup> |
1542 | 1560 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupElements">
|
1543 | 1561 | <argument name="group" value="PageBuilderTextContentType"/>
|
1544 | 1562 | </actionGroup>
|
|
1551 | 1569 | <comment userInput="keyForRemoval" stepKey="openEditMenuOnStage"/>
|
1552 | 1570 | <comment userInput="keyForRemoval" stepKey="enterAppearanceProperty"/>
|
1553 | 1571 | <comment userInput="keyForRemoval" stepKey="saveEditPanelSettingsInBlock"/>
|
1554 |
| - <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('2')}}" x="$guideWidth" stepKey="resizeColumn"/> |
1555 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStage"> |
| 1572 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStage"> |
1556 | 1573 | <argument name="page" value="TextOnStorefront"/>
|
1557 | 1574 | <argument name="height" value="120"/>
|
1558 | 1575 | </actionGroup>
|
1559 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapAfterSave"> |
| 1576 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightAfterSave"> |
1560 | 1577 | <argument name="page" value="TextOnStorefront"/>
|
1561 | 1578 | <argument name="height" value="120"/>
|
1562 | 1579 | </actionGroup>
|
1563 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStorefront"> |
| 1580 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStorefront"> |
1564 | 1581 | <argument name="page" value="TextOnStorefront"/>
|
1565 | 1582 | <argument name="height" value="70"/>
|
1566 | 1583 | </actionGroup>
|
|
0 commit comments