File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
app/code/Magento/User/Test/Mftf Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/ magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/ DataGenerator/etc/dataProfileSchema.xsd" >
10
+ xsi : noNamespaceSchemaLocation =" urn: magento:mftf: DataGenerator/etc/dataProfileSchema.xsd" >
11
11
<entity name =" admin" type =" user" >
12
12
<data key =" email" >admin@magento.com</data >
13
13
<data key =" password" >admin123</data >
23
23
<data key =" is_active" >true</data >
24
24
<data key =" current_password" >123123q</data >
25
25
</entity >
26
+ <entity name =" Admin3" type =" user" >
27
+ <data key =" username" unique =" suffix" >admin3</data >
28
+ <data key =" firstname" >admin3</data >
29
+ <data key =" lastname" >admin3</data >
30
+ <data key =" email" unique =" prefix" >admin3WebUser@example.com</data >
31
+ <data key =" password" >123123q</data >
32
+ <data key =" password_confirmation" >123123q</data >
33
+ <data key =" interface_local" >en_US</data >
34
+ <data key =" is_active" >true</data >
35
+ <data key =" current_password" >123123q</data >
36
+ <array key =" roles" >
37
+ <item >1</item >
38
+ </array >
39
+ </entity >
26
40
</entities >
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<operations xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
- xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/ magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/ DataGenerator/etc/dataOperation.xsd" >
9
+ xsi : noNamespaceSchemaLocation =" urn: magento:mftf: DataGenerator/etc/dataOperation.xsd" >
10
10
<operation name =" CreateUser" dataType =" user" type =" create"
11
11
auth =" adminFormKey" url =" /admin/user/save/" method =" POST" successRegex =" /messages-message-success/" returnRegex =" " >
12
12
<contentType >application/x-www-form-urlencoded</contentType >
19
19
<field key =" interface_locale" >string</field >
20
20
<field key =" is_active" >boolean</field >
21
21
<field key =" current_password" >string</field >
22
+ <array key =" roles" >
23
+ <value >string</value >
24
+ </array >
22
25
</operation >
23
26
</operations >
You can’t perform that action at this time.
0 commit comments