|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
| 6 | + */ |
| 7 | +--> |
| 8 | + |
| 9 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 | + xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd"> |
| 11 | + <test name="RowValidateLayoutSectionDefaultValues"> |
| 12 | + <annotations> |
| 13 | + <features value="Pagebuilder: Row"/> |
| 14 | + <stories value="MAGETWO-90461: Add Missing Tests For Row"/> |
| 15 | + <title value="Row - Validate Layout Section Default Values"/> |
| 16 | + <description value="Validate the default values for fields in the Layout section for Row."/> |
| 17 | + <severity value="AVERAGE"/> |
| 18 | + <testCaseId value="MC-2385"/> |
| 19 | + <group value="pagebuilder"/> |
| 20 | + <group value="pagebuilder-row"/> |
| 21 | + <group value="pagebuilder-rowLayout"/> |
| 22 | + </annotations> |
| 23 | + <before> |
| 24 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 25 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 26 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 27 | + </before> |
| 28 | + <after> |
| 29 | + <actionGroup ref="logout" stepKey="logout"/> |
| 30 | + </after> |
| 31 | + <actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditPanelForFirstRow"> |
| 32 | + <argument name="contentType" value="PageBuilderRowContentType"/> |
| 33 | + <argument name="contentTypeIndex" value="1"/> |
| 34 | + </actionGroup> |
| 35 | + <!-- Validate Min Height Field --> |
| 36 | + <comment userInput="Validate min height fields" stepKey="commentMinHeight"/> |
| 37 | + <actionGroup ref="seeInFieldSlideOutProperty" stepKey="validateEmptyHeightField"> |
| 38 | + <argument name="property" value="PageBuilderMinHeightProperty_Empty"/> |
| 39 | + </actionGroup> |
| 40 | + <!-- Validate Vertical Alignment Fields --> |
| 41 | + <comment userInput="Validate vertical alignment fields" stepKey="commentVerticalAlignment"/> |
| 42 | + <actionGroup ref="validateVerticalAlignmentVisualSelects" stepKey="validateVerticalAlignment"> |
| 43 | + <argument name="property1" value="PageBuilderVerticalAlignmentPropertyTop"/> |
| 44 | + <argument name="property2" value="PageBuilderVerticalAlignmentPropertyCenter"/> |
| 45 | + <argument name="property3" value="PageBuilderVerticalAlignmentPropertyBottom"/> |
| 46 | + </actionGroup> |
| 47 | + <actionGroup ref="seeOptionIsSelectedSlideOutProperty" stepKey="verticalAlignTopSelected"> |
| 48 | + <argument name="property" value="PageBuilderVerticalAlignmentPropertyTop"/> |
| 49 | + </actionGroup> |
| 50 | + </test> |
| 51 | +</tests> |
0 commit comments