![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-backend/Test/Mftf/ActionGroup/ |
<?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"> <!-- Action group to delete an item given that items name --> <!-- Must already be on the admin page containing the grid --> <actionGroup name="deleteEntitySecondaryGrid"> <annotations> <description>This Action Group deletes an item from a grid based on provided Name. After Searching, the First Row is clicked.</description> </annotations> <arguments> <argument name="name" type="string"/> <argument name="searchInput" type="string"/> </arguments> <!-- search for the name --> <click stepKey="resetFilters" selector="{{AdminSecondaryGridSection.resetFilters}}"/> <fillField stepKey="fillIdentifier" selector="{{searchInput}}" userInput="{{name}}"/> <click stepKey="searchForName" selector="{{AdminSecondaryGridSection.searchButton}}"/> <click stepKey="clickResult" selector="{{AdminSecondaryGridSection.firstRow}}"/> <waitForPageLoad stepKey="waitForTaxRateLoad"/> <!-- delete the rule --> <click stepKey="clickDelete" selector="{{AdminStoresMainActionsSection.deleteButton}}"/> <click stepKey="clickOk" selector="{{AdminConfirmationModalSection.ok}}"/> <see stepKey="seeSuccess" selector="{{AdminMessagesSection.success}}" userInput="deleted"/> </actionGroup> </actionGroups>