Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

29 lignes
1.7 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="StorefrontCheckoutCartFillEstimateShippingAndTaxActionGroup">
  11. <annotations>
  12. <description>Fill address data in Estimate Shipping And Tax section of shopping cart on storefront</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="country" type="string" defaultValue="{{US_Address_TX.country}}"/>
  16. <argument name="state" type="string" defaultValue="{{US_Address_TX.state}}"/>
  17. <argument name="postcode" type="string" defaultValue="{{US_Address_TX.postcode}}"/>
  18. </arguments>
  19. <conditionalClick selector="{{CheckoutCartSummarySection.estimateShippingAndTax}}" dependentSelector="{{CheckoutCartSummarySection.estimateShippingAndTaxSummary}}" visible="false" stepKey="openEestimateShippingAndTaxSection"/>
  20. <selectOption selector="{{CheckoutCartSummarySection.country}}" userInput="{{country}}" stepKey="selectCountry"/>
  21. <selectOption selector="{{CheckoutCartSummarySection.stateProvince}}" userInput="{{state}}" stepKey="selectState"/>
  22. <waitForElementVisible selector="{{CheckoutCartSummarySection.postcode}}" stepKey="waitForPostCodeVisible"/>
  23. <fillField selector="{{CheckoutCartSummarySection.postcode}}" userInput="{{postcode}}" stepKey="selectPostCode"/>
  24. <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDiappear"/>
  25. </actionGroup>
  26. </actionGroups>