You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 regels
2.1 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="AssertStorefrontMultishippingAddressAndItemActionGroup">
  11. <annotations>
  12. <description>Verify item information on Ship to Multiple Addresses page.</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="sequenceNumber" type="string" defaultValue="1"/>
  16. <argument name="productName" type="string" defaultValue="{{SimpleProduct.name}}"/>
  17. <argument name="quantity" type="string" defaultValue="1"/>
  18. <argument name="firstName" type="string" defaultValue="{{US_Address_CA.firstname}}"/>
  19. <argument name="lastName" type="string" defaultValue="{{US_Address_CA.lastname}}"/>
  20. <argument name="city" type="string" defaultValue="{{US_Address_CA.city}}"/>
  21. <argument name="state" type="string" defaultValue="{{US_Address_CA.state}}"/>
  22. <argument name="postCode" type="string" defaultValue="{{US_Address_CA.postcode}}"/>
  23. <argument name="country" type="string" defaultValue="{{US_Address_CA.country}}"/>
  24. <argument name="addressStreetLine1" type="string" defaultValue="{{US_Address_CA.street[0]}}"/>
  25. <argument name="addressStreetLine2" type="string" defaultValue="{{US_Address_CA.street[1]}}"/>
  26. </arguments>
  27. <seeElement selector="{{MultishippingSection.productLink(productName, sequenceNumber)}}" stepKey="verifyProductName"/>
  28. <seeInField selector="{{MultishippingSection.productQty(sequenceNumber)}}" userInput="{{quantity}}" stepKey="verifyQuantity"/>
  29. <seeInField selector="{{MultishippingSection.shippingAddressSelector(sequenceNumber)}}" userInput="{{firstName}} {{lastName}}, {{addressStreetLine1}} {{addressStreetLine2}}, {{city}}, {{state}} {{postCode}}, {{country}}" stepKey="verifyAddress"/>
  30. </actionGroup>
  31. </actionGroups>