File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
app/code/Magento/User/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +27
-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 =" AdminDeleteRoleActionGroup" >
12+ <annotations >
13+ <description >Deletes a User Role that contains the text 'Role'. PLEASE NOTE: The Action Group values are Hardcoded.</description >
14+ </annotations >
15+ <arguments >
16+ <argument name =" role" defaultValue =" " />
17+ </arguments >
18+
19+ <click stepKey =" clickOnRole" selector =" {{AdminDeleteRoleSection.theRole}}" />
20+ <fillField stepKey =" TypeCurrentPassword" selector =" {{AdminDeleteRoleSection.current_pass}}" userInput =" {{_ENV.MAGENTO_ADMIN_PASSWORD}}" />
21+ <click stepKey =" clickToDeleteRole" selector =" {{AdminDeleteRoleSection.delete}}" />
22+ <waitForAjaxLoad stepKey =" waitForDeleteConfirmationPopup" time =" 5" />
23+ <click stepKey =" clickToConfirm" selector =" {{AdminDeleteRoleSection.confirm}}" />
24+ <waitForPageLoad stepKey =" waitForPageLoad" time =" 10" />
25+ <see stepKey =" seeSuccessMessage" userInput =" You deleted the role." />
26+ </actionGroup >
27+ </actionGroups >
You can’t perform that action at this time.
0 commit comments