You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
1.4 KiB

  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. <operations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataOperation.xsd">
  10. <operation name="CreateUser" dataType="user" type="create"
  11. auth="adminFormKey" url="/admin/user/save/" method="POST" successRegex="/messages-message-success/" returnRegex="" >
  12. <contentType>application/x-www-form-urlencoded</contentType>
  13. <field key="username">string</field>
  14. <field key="firstname">string</field>
  15. <field key="lastname">string</field>
  16. <field key="email">string</field>
  17. <field key="password">string</field>
  18. <field key="password_confirmation">string</field>
  19. <field key="interface_locale">string</field>
  20. <field key="is_active">boolean</field>
  21. <field key="current_password">string</field>
  22. <array key="roles">
  23. <value>string</value>
  24. </array>
  25. </operation>
  26. <operation name="DeleteUser" dataType="deleteUser" type="create" auth="adminFormKey" url="/admin/user/delete/" method="POST" successRegex="/messages-message-success/">
  27. <contentType>application/x-www-form-urlencoded</contentType>
  28. <field key="current_password">string</field>
  29. <field key="user_id">string</field>
  30. </operation>
  31. </operations>