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

28 строки
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. <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
  10. <actionGroup name="VerifyCustomerNameOnFrontendActionGroup">
  11. <annotations>
  12. <description>Goes to the Storefront Customer Dashboard page. Validates that the Customer First/Last Name is present and correct.</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="customer"/>
  16. </arguments>
  17. <!--Verify customer name on frontend-->
  18. <amOnPage url="customer/account/edit/" stepKey="goToAddressPage"/>
  19. <waitForPageLoad stepKey="waitForAddressPageLoad"/>
  20. <click selector="{{StorefrontCustomerSidebarSection.sidebarCurrentTab('Account Information')}}" stepKey="clickAccountInformationFromSidebarCurrentTab"/>
  21. <waitForPageLoad stepKey="waitForAccountInformationTabToOpen"/>
  22. <seeInField selector="{{StorefrontCustomerAccountInformationSection.firstName}}" userInput="{{customer.firstname}}" stepKey="seeAssertCustomerFirstName"/>
  23. <seeInField selector="{{StorefrontCustomerAccountInformationSection.lastName}}" userInput="{{customer.lastname}}" stepKey="seeAssertCustomerLastName"/>
  24. </actionGroup>
  25. </actionGroups>