File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
app/code/Magento/Tax/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 =" AdminAddProductTaxClassConditionalActionGroup" >
12
+ <annotations >
13
+ <description >Adds the provided Product Tax Class to a Tax Rule. Before click on Save check Class Exist or not.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" prodTaxClassName" type =" string" />
17
+ </arguments >
18
+
19
+ <!-- Click Additional Settings-->
20
+ <click stepKey =" clickAdditionalSettings" selector =" {{AdminTaxRulesSection.additionalSettings}}" />
21
+ <!-- Click Product Add New Tax Class Button-->
22
+ <click stepKey =" clickProdAddNewTaxClassBtn" selector =" {{AdminTaxRulesSection.productAddNewTaxClass}}" />
23
+ <!-- Fill field-->
24
+ <fillField stepKey =" fillProdNewTaxClass" selector =" {{AdminTaxRulesSection.fieldProdNewTaxClass}}" userInput =" {{prodTaxClassName}}" />
25
+ <!-- Save Product tax rate -->
26
+ <conditionalClick stepKey =" saveProdTaxRate" selector =" {{AdminTaxRulesSection.saveProdNewTaxClass}}" dependentSelector =" {{AdminTaxRulesSection.selectProductTaxClass('prodTaxClassName')}}" visible =" false" />
27
+ </actionGroup >
28
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments