File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
app/code/Magento/Tax/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +39
-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
+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
+ <test name =" AdminCheckTaxForDetailsTagExpandCollapseTest" >
12
+ <annotations >
13
+ <features value =" Tax" />
14
+ <stories value =" Additional settings" />
15
+ <title value =" Additional settings expand collapse icon visible" />
16
+ <description value =" Checking expand and collapse icon for additional settings" />
17
+ <severity value =" AVERAGE" />
18
+ <testCaseId value =" AC-9376" />
19
+ <group value =" tax" />
20
+ <group value =" sales" />
21
+ </annotations >
22
+ <before >
23
+ <!-- Login as admin-->
24
+ <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
25
+ </before >
26
+ <after >
27
+ <!-- Go to the tax rule page -->
28
+ <actionGroup ref =" AdminTaxRuleGridOpenPageActionGroup" stepKey =" goToTaxRulesPage" />
29
+ <!-- Click new tax rule -->
30
+ <actionGroup ref =" AdminClickAddTaxRuleButtonActionGroup" stepKey =" clickAddNewTaxRuleButton" />
31
+ <!-- Click expand icon -->
32
+ <conditionalClick selector =" {{AdminTaxRuleFormSection.additionalSettings}}" dependentSelector =" {{AdminTaxRuleFormSection.additionalSettingsOpened}}" visible =" false" stepKey =" openAdditionalSettings" />
33
+ <!-- Check class in selector -->
34
+ <seeElement selector =" details#detailsbase_fieldset .__show" stepKey =" seeBox" />
35
+ <!-- Logout-->
36
+ <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutFromAdmin" />
37
+ </after >
38
+ </test >
39
+ </tests >
You can’t perform that action at this time.
0 commit comments