File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
app/code/Magento/Customer/Test/Mftf Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 12
12
<arguments >
13
13
<argument name =" customerGroupName" type =" string" />
14
14
</arguments >
15
+ <amOnPage url =" {{AdminCustomerGroupsIndexPage.url}}" stepKey =" goToAdminCustomerGroupIndexPage" />
16
+ <waitForPageLoad time =" 30" stepKey =" waitForCustomerGroupIndexPageLoad" />
17
+ <click selector =" {{AdminDataGridHeaderSection.filters}}" stepKey =" openFiltersSectionOnCustomerGroupIndexPage" />
18
+ <conditionalClick selector =" {{AdminDataGridHeaderSection.clearFilters}}" dependentSelector =" {{AdminDataGridHeaderSection.clearFilters}}" visible =" true" stepKey =" cleanFiltersIfTheySet" />
19
+ <fillField userInput =" {{customerGroupName}}" selector =" {{AdminDataGridHeaderSection.filterFieldInput('customer_group_code')}}" stepKey =" fillNameFieldOnFiltersSection" />
20
+ <click selector =" {{AdminDataGridHeaderSection.applyFilters}}" stepKey =" clickApplyFiltersButton" />
15
21
<click selector =" {{AdminCustomerGroupGridActionsSection.selectButton('customerGroupName')}}" stepKey =" clickSelectButton" />
16
22
<click selector =" {{AdminCustomerGroupGridActionsSection.deleteAction('customerGroupName')}}" stepKey =" clickOnDeleteItem" />
17
23
<click selector =" {{AdminConfirmationModalSection.ok}}" stepKey =" confirmDeleteCustomerGroup" />
Original file line number Diff line number Diff line change 10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/PageObject.xsd" >
11
11
<page name =" AdminCustomerGroupsIndexPage" url =" /customer/group/" area =" admin" module =" Magento_Customer" >
12
12
<section name =" AdminCustomerGroupGridActionsSection" />
13
- <section name =" AdminCustomerGroupFiltersSection" />
14
13
</page >
15
14
</pages >
You can’t perform that action at this time.
0 commit comments