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

36 строки
2.2 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. <!-- Assert Customer Default Shipping Address -->
  11. <actionGroup name="AdminAssertCustomerDefaultShippingAddress">
  12. <annotations>
  13. <description>Validates that the provided Default Customer Shipping Address details are present and correct on the Customer creation/edit page. Under the section 'Addresses'.</description>
  14. </annotations>
  15. <arguments>
  16. <argument name="firstName" type="string" defaultValue=""/>
  17. <argument name="lastName" type="string" defaultValue=""/>
  18. <argument name="street1" type="string" defaultValue=""/>
  19. <argument name="state" type="string" defaultValue=""/>
  20. <argument name="postcode" type="string" defaultValue=""/>
  21. <argument name="country" type="string" defaultValue=""/>
  22. <argument name="telephone" type="string" defaultValue=""/>
  23. </arguments>
  24. <click selector="{{AdminEditCustomerAddressesSection.addresses}}" stepKey="proceedToAddresses"/>
  25. <see userInput="{{firstName}}" selector="{{AdminCustomerAddressesDefaultShippingSection.addressDetails}}" stepKey="firstName"/>
  26. <see userInput="{{lastName}}" selector="{{AdminCustomerAddressesDefaultShippingSection.addressDetails}}" stepKey="lastName"/>
  27. <see userInput="{{street1}}" selector="{{AdminCustomerAddressesDefaultShippingSection.addressDetails}}" stepKey="street1"/>
  28. <see userInput="{{state}}" selector="{{AdminCustomerAddressesDefaultShippingSection.addressDetails}}" stepKey="state"/>
  29. <see userInput="{{postcode}}" selector="{{AdminCustomerAddressesDefaultShippingSection.addressDetails}}" stepKey="postcode"/>
  30. <see userInput="{{country}}" selector="{{AdminCustomerAddressesDefaultShippingSection.addressDetails}}" stepKey="country"/>
  31. <see userInput="{{telephone}}" selector="{{AdminCustomerAddressesDefaultShippingSection.addressDetails}}" stepKey="telephone"/>
  32. </actionGroup>
  33. </actionGroups>