File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
app/code/Magento/SalesRule/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +28
-0
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 >
You can’t perform that action at this time.
0 commit comments