Skip to content

Commit 3025047

Browse files
AnujNehraAnujNehra
authored andcommitted
ACP2E-2247: [Cloud] Misleading prompts on Additional Settings section when setting up a Tax Rule:
1 parent 0600fdf commit 3025047

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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>

0 commit comments

Comments
 (0)