File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/ActionGroup Expand file tree Collapse file tree 1 file changed +23
-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 =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" searchAndMultiSelectActionGroup" >
12
+ <arguments >
13
+ <argument name =" dropDownSelector" />
14
+ <argument name =" options" />
15
+ </arguments >
16
+ <waitForPageLoad stepKey =" waitForPageLoad" />
17
+ <waitForElementVisible selector =" {{dropDownSelector}} .action-select.admin__action-multiselect" stepKey =" waitForDropdown" />
18
+ <click selector =" {{dropDownSelector}} .action-select.admin__action-multiselect" stepKey =" clickDropdown" />
19
+ <selectMultipleOptions filterSelector =" {{dropDownSelector}} .admin__action-multiselect-search-wrap>input[data-role='advanced-select-text']" optionSelector =" {{dropDownSelector}} .admin__action-multiselect-label>span" stepKey =" selectSpecifiedOptions" >
20
+ <array >[{{options}}]</array >
21
+ </selectMultipleOptions >
22
+ </actionGroup >
23
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments