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

34 строки
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. <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
  10. <!-- Edit Customer Account Information Required Fields in Admin -->
  11. <actionGroup name="AdminEditCustomerAccountInformationActionGroup">
  12. <annotations>
  13. <description>Fills in the Customer First Name, Last Name and Email. Clicks on Save and Continue.</description>
  14. </annotations>
  15. <arguments>
  16. <argument name="firstName" type="string"/>
  17. <argument name="lastName" type="string"/>
  18. <argument name="email" type="string"/>
  19. </arguments>
  20. <click selector="{{AdminCustomerAccountInformationSection.accountInformationTab}}" stepKey="goToAccountInformation"/>
  21. <clearField stepKey="clearFirstName" selector="{{AdminCustomerAccountInformationSection.firstName}}"/>
  22. <fillField stepKey="fillFirstName" userInput="{{firstName}}" selector="{{AdminCustomerAccountInformationSection.firstName}}"/>
  23. <clearField stepKey="clearLastName" selector="{{AdminCustomerAccountInformationSection.lastName}}"/>
  24. <fillField stepKey="fillLastName" userInput="{{lastName}}" selector="{{AdminCustomerAccountInformationSection.lastName}}"/>
  25. <clearField stepKey="clearEmail" selector="{{AdminCustomerAccountInformationSection.email}}"/>
  26. <fillField stepKey="fillEmail" userInput="{{email}}" selector="{{AdminCustomerAccountInformationSection.email}}"/>
  27. <click selector="{{AdminCustomerMainActionsSection.saveAndContinue}}" stepKey="saveAndContinue"/>
  28. <waitForPageLoad stepKey="wait"/>
  29. <scrollToTopOfPage stepKey="scrollToTop"/>
  30. </actionGroup>
  31. </actionGroups>