File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
app/code/Magento/CatalogInventory/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +24
-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 =" AdminCatalogInventoryChangeManageStockActionGroup" >
12
+ <annotations >
13
+ <description >Opens advanced inventory modal if it has not opened yet. Sets Manage stock value.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" manageStock" type =" string" defaultValue =" Yes" />
17
+ </arguments >
18
+ <conditionalClick selector =" {{AdminProductFormSection.advancedInventoryLink}}" dependentSelector =" {{AdminProductFormAdvancedInventorySection.advancedInventoryModal}}" visible =" false" stepKey =" openAdvancedInventoryWindow" />
19
+ <waitForElementVisible selector =" {{AdminProductFormAdvancedInventorySection.useConfigSettings}}" stepKey =" waitForAdvancedInventoryModalWindowOpen" />
20
+ <uncheckOption selector =" {{AdminProductFormAdvancedInventorySection.useConfigSettings}}" stepKey =" uncheckManageStockConfigSetting" />
21
+ <selectOption selector =" {{AdminProductFormAdvancedInventorySection.manageStock}}" userInput =" {{manageStock}}" stepKey =" changeManageStock" />
22
+ <click selector =" {{AdminProductFormAdvancedInventorySection.doneButton}}" stepKey =" clickDoneButton" />
23
+ </actionGroup >
24
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments