File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
app/code/Magento/SalesRule
view/adminhtml/ui_component Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change
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
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminCartPriceRuleMultiCustomerActionGroup" >
12
+ <annotations >
13
+ <description >Goes to the Admin Cart Price Rule grid page. Adds Rule Name, select Websites and Customer Groups.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" ruleName" />
17
+ </arguments >
18
+
19
+ <amOnPage url =" {{AdminCartPriceRulesPage.url}}" stepKey =" amOnCartPriceList" />
20
+ <waitForPageLoad stepKey =" waitForPriceList" />
21
+ <click selector =" {{AdminCartPriceRulesSection.addNewRuleButton}}" stepKey =" clickAddNewRule" />
22
+ <waitForElementVisible selector =" {{AdminCartPriceRulesFormSection.ruleName}}" stepKey =" waitRuleNameFieldAppeared" />
23
+ <fillField selector =" {{AdminCartPriceRulesFormSection.ruleName}}" userInput =" {{ruleName.name}}" stepKey =" fillRuleName" />
24
+ <selectOption selector =" {{AdminCartPriceRulesFormSection.websites}}" userInput =" {{ruleName.websites}}" stepKey =" selectWebsites" />
25
+ <selectOption selector =" {{AdminCartPriceRulesFormSection.customerGroups}}" parameterArray =" [{{ruleName.customerGroups}}]" stepKey =" selectCustomerGroup" />
26
+ <wait time =" 3" stepKey =" waitForCustomerGroups" />
27
+ </actionGroup >
28
+ </actionGroups >
Original file line number Diff line number Diff line change 199
199
</action >
200
200
<action name =" 2" >
201
201
<target >sales_rule_form.sales_rule_form.rule_information.uses_per_coupon</target >
202
- <callback >hide </callback >
202
+ <callback >show </callback >
203
203
</action >
204
204
</actions >
205
205
</rule >
You can’t perform that action at this time.
0 commit comments