AdminProductAddFPTValueActionGroup.xml 1.4 KB

123456789101112131415161718192021222324
  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. <!--Navigate to create product page from product grid page-->
  11. <actionGroup name="AdminProductAddFPTValueActionGroup">
  12. <arguments>
  13. <argument name="FPTAttributeCode"/>
  14. <argument name="countryForFPT" defaultValue="US" type="string"/>
  15. <argument name="stateForFPT" type="string"/>
  16. <argument name="valueForFPT" type="string"/>
  17. </arguments>
  18. <click selector="{{AdminProductAddFPTValueSection.addFPT(FPTAttributeCode)}}" stepKey="clickAddFPTButton1"/>
  19. <waitForPageLoad stepKey="waitForPageLoad"/>
  20. <selectOption selector="{{AdminProductAddFPTValueSection.selectCountryForFPT(FPTAttributeCode)}}" userInput="{{countryForFPT}}" stepKey="selectcountryForFPT"/>
  21. <selectOption selector="{{AdminProductAddFPTValueSection.selectStateForFPT(FPTAttributeCode)}}" userInput="{{stateForFPT}}" stepKey="selectstateForFPT"/>
  22. <fillField selector="{{AdminProductAddFPTValueSection.setTaxValueForFPT(FPTAttributeCode)}}" userInput="{{valueForFPT}}" stepKey="setTaxvalueForFPT"/>
  23. </actionGroup>
  24. </actionGroups>