Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

31 wiersze
1.4 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="AdminDeleteTaxRule">
  11. <annotations>
  12. <description>Goes to the Admin Tax Rule grid page. Deletes the provided Tax Rule Code.</description>
  13. </annotations>
  14. <arguments>
  15. <argument name="taxRuleCode" type="string"/>
  16. </arguments>
  17. <amOnPage url="{{AdminTaxRuleGridPage.url}}" stepKey="goToTaxRuleGridPage"/>
  18. <waitForPageLoad stepKey="waitForPageLoad1"/>
  19. <click selector="{{AdminDataGridHeaderSection.clearFilters}}" stepKey="clickClearFilters"/>
  20. <fillField selector="{{AdminTaxRuleGridSection.code}}" userInput="{{taxRuleCode}}" stepKey="fillTaxRuleCode"/>
  21. <click selector="{{AdminTaxRuleGridSection.search}}" stepKey="clickSearch"/>
  22. <waitForPageLoad stepKey="waitForTaxRuleSearch"/>
  23. <click selector="{{AdminTaxRuleGridSection.nthRow('1')}}" stepKey="clickFirstRow"/>
  24. <waitForPageLoad stepKey="waitForPageLoad"/>
  25. <click selector="{{AdminTaxRuleFormSection.deleteRule}}" stepKey="clickDeleteRule"/>
  26. <click selector="{{AdminTaxRuleFormSection.ok}}" stepKey="clickOk"/>
  27. </actionGroup>
  28. </actionGroups>