Viewing File: /home/maglabs/it/app/code/Magento/Weee/Test/Mftf/ActionGroup/AdminProductAddFPTValueActionGroup.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminProductAddFPTValueActionGroup">
<annotations>
<description>Adds the provided FPT details (Attribute Code, Country, State and Value) on the Admin Product creation/edit page.</description>
</annotations>
<arguments>
<argument name="FPTAttributeCode"/>
<argument name="countryForFPT" defaultValue="US" type="string"/>
<argument name="stateForFPT" type="string"/>
<argument name="valueForFPT" type="string"/>
</arguments>
<click selector="{{AdminProductAddFPTValueSection.addFPT(FPTAttributeCode)}}" stepKey="clickAddFPTButton1"/>
<waitForPageLoad stepKey="waitForPageLoad"/>
<selectOption selector="{{AdminProductAddFPTValueSection.selectCountryForFPT(FPTAttributeCode)}}" userInput="{{countryForFPT}}" stepKey="selectcountryForFPT"/>
<selectOption selector="{{AdminProductAddFPTValueSection.selectStateForFPT(FPTAttributeCode)}}" userInput="{{stateForFPT}}" stepKey="selectstateForFPT"/>
<fillField selector="{{AdminProductAddFPTValueSection.setTaxValueForFPT(FPTAttributeCode)}}" userInput="{{valueForFPT}}" stepKey="setTaxvalueForFPT"/>
</actionGroup>
</actionGroups>
Back to Directory
File Manager