12345678910111213141516171819202122232425 |
- <?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="AdminCreateCustomerGroupActionGroup">
- <arguments>
- <argument name="groupName" type="string"/>
- <argument name="taxClass" type="string"/>
- </arguments>
- <amOnPage url="{{AdminNewCustomerGroupPage.url}}" stepKey="goToNewCustomerGroupPage"/>
- <waitForPageLoad stepKey="waitForNewCustomerGroupPageLoad"/>
- <!--Set tax class for customer group-->
- <fillField stepKey="fillGroupName" selector="{{AdminNewCustomerGroupSection.groupName}}" userInput="{{groupName}}"/>
- <selectOption selector="{{AdminNewCustomerGroupSection.taxClass}}" userInput="{{taxClass}}" stepKey="selectTaxClassOption"/>
- <click selector="{{AdminNewCustomerGroupSection.saveCustomerGroup}}" stepKey="clickToSaveCustomerGroup"/>
- <waitForPageLoad stepKey="waitForCustomerGroupSaved"/>
- <see stepKey="seeCustomerGroupSaveMessage" userInput="You saved the customer group."/>
- </actionGroup>
- </actionGroups>
|