File tree 1 file changed +29
-0
lines changed
app/code/Magento/Ui/Test/Mftf/ActionGroup
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
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
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminGridFilterSearchResultsByInputAndEnabledSourcesActionGroup" >
12
+ <annotations >
13
+ <description >Filters an Admin Grid page using the provided Filter Selector and Search Value.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" selector" />
17
+ <argument name =" value" type =" string" />
18
+ </arguments >
19
+
20
+ <conditionalClick selector =" {{AdminGridFilterControls.clearAll}}" dependentSelector =" {{AdminGridFilterControls.clearAll}}" visible =" true" stepKey =" clearTheFiltersIfPresent" />
21
+ <waitForPageLoad stepKey =" waitForPageLoad" time =" 5" />
22
+ <click selector =" {{AdminGridFilterControls.filters}}" stepKey =" clickOnFilters1" />
23
+ <fillField userInput =" {{value}}" selector =" {{selector}}" stepKey =" fillCodeField2" />
24
+ <click selector =" .admin__data-grid-filters-wrap div[data-role='advanced-select']" stepKey =" clickOnSelect" />
25
+ <checkOption selector =" li[data-role='option-group']:nth-of-type(1)" stepKey =" enableSource" />
26
+ <click selector =" .admin__action-multiselect-actions-wrap" stepKey =" clickOnDone" />
27
+ <click selector =" {{AdminGridFilterControls.applyFilters}}" stepKey =" clickOnApplyFilter" />
28
+ </actionGroup >
29
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments