123456789101112131415161718192021222324 |
- <?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="AdminDeleteCustomerActionGroup">
- <arguments>
- <argument name="customerEmail"/>
- </arguments>
- <amOnPage url="{{AdminCustomerPage.url}}" stepKey="navigateToCustomersPage"/>
- <conditionalClick selector="{{AdminCustomerFiltersSection.clearAll}}" dependentSelector="{{AdminCustomerFiltersSection.clearAll}}" visible="true" stepKey="clickClearFilters"/>
- <click stepKey="chooseCustomer" selector="{{AdminCustomerGridMainActionsSection.customerCheckbox(customerEmail)}}"/>
- <click stepKey="openActions" selector="{{AdminCustomerGridMainActionsSection.actions}}"/>
- <waitForPageLoad stepKey="waitActions"/>
- <click stepKey="delete" selector="{{AdminCustomerGridMainActionsSection.delete}}"/>
- <waitForPageLoad stepKey="waitForConfirmationAlert"/>
- <click stepKey="accept" selector="{{AdminCustomerGridMainActionsSection.ok}}"/>
- <see stepKey="seeSuccessMessage" userInput="were deleted."/>
- </actionGroup>
- </actionGroups>
|