Skip to content

Commit 173737c

Browse files
committed
[B2B-3098]: MFTF
- Adding 2FA merge test
1 parent 68488df commit 173737c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
10+
<test name="AdminACLRuleManageCompaniesTest">
11+
<annotations>
12+
<stories value="ACL"/>
13+
<title value="Verify Admin Users Cannot Perform Actions without Manage Companies ACL Rule"/>
14+
<description value="This test verifies that admin users without the Manage Companies ACL rule cannot create
15+
a company, cannot perform any of the bulk grid actions from the Companies index page, and cannot save,
16+
reset, or delete a company from the Company Edit Page."/>
17+
<severity value="BLOCKER"/>
18+
<testCaseId value="B2B-3141"/>
19+
</annotations>
20+
<before>
21+
<actionGroup ref="AdminChooseUserRoleResourceActionGroup" before="saveRole" stepKey="enableTfa">
22+
<argument name="resourceId" value="Magento_TwoFactorAuth::tfa"/>
23+
<argument name="resourceName" value="Two Factor Auth"/>
24+
</actionGroup>
25+
</before>
26+
</test>
27+
</tests>

0 commit comments

Comments
 (0)