File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
Customer/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 24
24
<after >
25
25
<createData entity =" DisableAdminAccountAllowCountry" stepKey =" setDefaultValueForAllowCountries" />
26
26
<actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
27
- <actionGroup ref =" DeleteCustomerAdminActionGroup " stepKey =" deleteCustomer" >
28
- <argument name =" customer " value =" CustomerEntityOne" />
27
+ <actionGroup ref =" AdminDeleteCustomerActionGroup " stepKey =" deleteCustomer" >
28
+ <argument name =" customerEmail " value =" CustomerEntityOne.email " />
29
29
</actionGroup >
30
30
<actionGroup ref =" AdminClearCustomersFiltersActionGroup" stepKey =" clearFilters" />
31
31
<waitForPageLoad stepKey =" WaitForPageToLoad" />
Original file line number Diff line number Diff line change 35
35
<click selector =" {{AdminCustomerGridMainActionsSection.delete}}" stepKey =" clickDelete" />
36
36
<waitForAjaxLoad stepKey =" waitForLoadConfirmation" />
37
37
<click selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" confirmDelete" />
38
- <wait time =" 5" stepKey =" aaa" />
39
38
<see selector =" {{AdminMessagesSection.successMessage}}" userInput =" A total of 1 record(s) were deleted" stepKey =" seeSuccess" />
40
39
</actionGroup >
41
-
42
- <actionGroup name =" DeleteCustomerAdminActionGroup" extends =" DeleteCustomerFromAdminActionGroup" >
43
- <arguments >
44
- <argument name =" customer" />
45
- </arguments >
46
- <remove keyForRemoval =" fillSearch" />
47
- <remove keyForRemoval =" clickSubmit" />
48
- <click selector =" {{AdminDataGridHeaderSection.filters}}" stepKey =" openFiltersSectionOnCustomerPage" after =" clickOnButtonToRemoveFiltersIfPresent" />
49
- <fillField userInput =" {{customer.email}}" selector =" {{AdminDataGridHeaderSection.filterFieldInput('email')}}" stepKey =" fillEmailOnFiltersSection" after =" openFiltersSectionOnCustomerPage" />
50
- <click selector =" {{AdminDataGridHeaderSection.applyFilters}}" stepKey =" clickApplyFiltersButton" after =" fillEmailOnFiltersSection" />
51
- </actionGroup >
52
-
53
40
<actionGroup name =" AdminClearCustomersFiltersActionGroup" >
54
41
<amOnPage url =" {{AdminCustomerPage.url}}" stepKey =" amOnCustomersPage" />
55
42
<waitForPageLoad stepKey =" WaitForPageToLoad" />
You can’t perform that action at this time.
0 commit comments