|
11 | 11 | <test name="AdminVerifySalesRuleProductSubselectionWithQuantityConditionTest"> |
12 | 12 | <annotations> |
13 | 13 | <features value="SalesRule"/> |
14 | | - <stories value="Cart Price Rule with Product Subselection"/> |
| 14 | + <stories value="Cart price rule with product subselection"/> |
15 | 15 | <title value="Verify cart price rule with product subselection quantity condition applies discount"/> |
16 | 16 | <description value="Verify that cart price rule with product subselection condition Qty >= 1 successfully applies discount at checkout"/> |
17 | | - <severity value="CRITICAL"/> |
| 17 | + <severity value="MINOR"/> |
18 | 18 | <testCaseId value="AC-15273"/> |
19 | 19 | <group value="salesRule"/> |
20 | 20 | </annotations> |
21 | 21 | <before> |
22 | | - <!-- Admin Login --> |
| 22 | + <!-- Admin login --> |
23 | 23 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
24 | 24 | <createData entity="_defaultProduct" stepKey="createSimpleProduct"/> |
25 | 25 | </before> |
|
31 | 31 | <actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearFilters"/> |
32 | 32 | <!-- Delete created product --> |
33 | 33 | <deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/> |
34 | | - <!-- Admin Logout --> |
35 | | - <amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/> |
| 34 | + <!-- Admin logout --> |
| 35 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
36 | 36 | </after> |
37 | 37 | <!-- Step 1-2: Create cart price rule with product subselection (Qty >= 1) --> |
38 | 38 | <actionGroup ref="AdminCreateCartPriceRuleWithProductSubselectionActionGroup" stepKey="createRule"> |
39 | 39 | <argument name="ruleName" value="TestSalesRule"/> |
40 | | - <argument name="condition1" value="Products subselection"/> |
41 | | - <argument name="ruleToChange1" value="is"/> |
42 | | - <argument name="rule1" value="equals or greater than"/> |
43 | | - <argument name="ruleToChange2" value="..."/> |
44 | | - <argument name="rule2" value="1"/> |
45 | 40 | </actionGroup> |
46 | 41 | <!-- Step 3: Run cron job --> |
47 | 42 | <actionGroup ref="CliIndexerReindexActionGroup" stepKey="runCronReindex"> |
|
63 | 58 | <actionGroup ref="AssertStorefrontCartDiscountActionGroup" stepKey="seeDiscountTotal"> |
64 | 59 | <argument name="discount" value="61.50"/> |
65 | 60 | </actionGroup> |
66 | | - <actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart"/> |
| 61 | + <actionGroup ref="StorefrontClickProceedToCheckoutActionGroup" stepKey="clickProceedToCheckout"/> |
67 | 62 | <actionGroup ref="GuestCheckoutFillingShippingSectionActionGroup" stepKey="guestCheckoutFillingShippingSection"> |
68 | 63 | <argument name="customerVar" value="CustomerEntityOne" /> |
69 | 64 | <argument name="customerAddressVar" value="CustomerAddressSimple" /> |
|
0 commit comments