Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
-
- <tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
- <test name="AdminResetCustomerPasswordTest">
- <annotations>
- <stories value="Reset password"/>
- <title value="Admin should be able to reset customer password"/>
- <description value="Admin should be able to reset customer password"/>
- <severity value="CRITICAL"/>
- <testCaseId value="MAGETWO-30875"/>
- <group value="customer"/>
- </annotations>
- <before>
- <createData entity="Simple_US_Customer" stepKey="customer"/>
- <magentoCron groups="index" stepKey="reindex"/>
- <actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
- </before>
- <after>
- <deleteData createDataKey="customer" stepKey="deleteCustomer"/>
- <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
- </after>
- <comment userInput="Adding the comment to replace CliIndexerReindexActionGroup action group ('indexer:reindex' commands) for preserving Backward Compatibility" stepKey="reindex"/>
- <comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
- <!--Edit customer info-->
- <actionGroup ref="OpenEditCustomerFromAdminActionGroup" stepKey="OpenEditCustomerFrom">
- <argument name="customer" value="$$customer$$"/>
- </actionGroup>
- <click selector="{{AdminCustomerMainActionsSection.resetPassword}}" stepKey="resetPassword"/>
- <see userInput="The customer will receive an email with a link to reset password." stepKey="messageThatLinkToPasswordResetIsSent"/>
- </test>
- </tests>
-
|