25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?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="AdminDeleteTaxRule">
- <annotations>
- <description>Goes to the Admin Tax Rule grid page. Deletes the provided Tax Rule Code.</description>
- </annotations>
- <arguments>
- <argument name="taxRuleCode" type="string"/>
- </arguments>
-
- <amOnPage url="{{AdminTaxRuleGridPage.url}}" stepKey="goToTaxRuleGridPage"/>
- <waitForPageLoad stepKey="waitForPageLoad1"/>
- <click selector="{{AdminDataGridHeaderSection.clearFilters}}" stepKey="clickClearFilters"/>
- <fillField selector="{{AdminTaxRuleGridSection.code}}" userInput="{{taxRuleCode}}" stepKey="fillTaxRuleCode"/>
- <click selector="{{AdminTaxRuleGridSection.search}}" stepKey="clickSearch"/>
- <waitForPageLoad stepKey="waitForTaxRuleSearch"/>
- <click selector="{{AdminTaxRuleGridSection.nthRow('1')}}" stepKey="clickFirstRow"/>
- <waitForPageLoad stepKey="waitForPageLoad"/>
- <click selector="{{AdminTaxRuleFormSection.deleteRule}}" stepKey="clickDeleteRule"/>
- <click selector="{{AdminTaxRuleFormSection.ok}}" stepKey="clickOk"/>
- </actionGroup>
- </actionGroups>
|