Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

41 строка
1.9 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. <tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
  10. <test name="AdminResetCustomerPasswordTest">
  11. <annotations>
  12. <stories value="Reset password"/>
  13. <title value="Admin should be able to reset customer password"/>
  14. <description value="Admin should be able to reset customer password"/>
  15. <severity value="CRITICAL"/>
  16. <testCaseId value="MAGETWO-30875"/>
  17. <group value="customer"/>
  18. </annotations>
  19. <before>
  20. <createData entity="Simple_US_Customer" stepKey="customer"/>
  21. <magentoCron groups="index" stepKey="reindex"/>
  22. <actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
  23. </before>
  24. <after>
  25. <deleteData createDataKey="customer" stepKey="deleteCustomer"/>
  26. <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
  27. </after>
  28. <comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
  29. <comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
  30. <!--Edit customer info-->
  31. <actionGroup ref="OpenEditCustomerFromAdminActionGroup" stepKey="OpenEditCustomerFrom">
  32. <argument name="customer" value="$$customer$$"/>
  33. </actionGroup>
  34. <click selector="{{AdminCustomerMainActionsSection.resetPassword}}" stepKey="resetPassword"/>
  35. <see userInput="The customer will receive an email with a link to reset password." stepKey="messageThatLinkToPasswordResetIsSent"/>
  36. </test>
  37. </tests>