|
| 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 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 9 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 10 | + <test name="ProductConditionsAddDoubleConditionsCombinationTest"> |
| 11 | + <annotations> |
| 12 | + <features value="PageBuilder"/> |
| 13 | + <stories value="Products"/> |
| 14 | + <title value="Product conditions rule with a combination of double conditions"/> |
| 15 | + <description value="As a Content Manager I want set condition filter in Conditions Combination on a Product content type"/> |
| 16 | + <severity value="AVERAGE"/> |
| 17 | + <useCaseId value=""/> |
| 18 | + <testCaseId value=""/> |
| 19 | + <group value="pagebuilder"/> |
| 20 | + <group value="pagebuilder-products"/> |
| 21 | + </annotations> |
| 22 | + <before> |
| 23 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
| 24 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 25 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 26 | + </before> |
| 27 | + <after> |
| 28 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
| 29 | + </after> |
| 30 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
| 31 | + <argument name="contentType" value="PageBuilderProductsContentType"/> |
| 32 | + </actionGroup> |
| 33 | + <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection"> |
| 34 | + <argument name="contentType" value="PageBuilderProductsContentType"/> |
| 35 | + </actionGroup> |
| 36 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragProductsOntoStage"> |
| 37 | + <argument name="contentType" value="PageBuilderProductsContentType"/> |
| 38 | + </actionGroup> |
| 39 | + <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditAfterDrop"> |
| 40 | + <argument name="contentType" value="PageBuilderProductsContentType"/> |
| 41 | + </actionGroup> |
| 42 | + <actionGroup ref="chooseVisualSelectOption" stepKey="chooseSelectProductsBy"> |
| 43 | + <argument name="property" value="PageBuilderProductsSelectProductsByCondition"/> |
| 44 | + </actionGroup> |
| 45 | + <actionGroup ref="AddConditionsCombinationToProducts" stepKey="addProductsConditionCombination"/> |
| 46 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/> |
| 47 | + <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditAfterDropAgain"> |
| 48 | + <argument name="contentType" value="PageBuilderProductsContentType"/> |
| 49 | + </actionGroup> |
| 50 | + <!-- Validate product conditions --> |
| 51 | + <comment userInput="Validate product conditions" stepKey="productConditionsValidateStage"/> |
| 52 | + <dontSeeJsError stepKey="doNotSeeAnyJSErrorsOnStage"/> |
| 53 | + </test> |
| 54 | +</tests> |
0 commit comments