File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
app/code/Magento/Catalog/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
3
/**
4
- * Copyright © Magento, Inc. All rights reserved.
5
- * See COPYING.txt for license details .
4
+ * Copyright 2024 Adobe
5
+ * All Rights Reserved .
6
6
*/
7
7
-->
8
8
9
- <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
11
<!-- Add custom option, title and type -->
12
12
<actionGroup name =" AdminAddProductCustomOptionActionGroup" >
17
17
<argument name =" customOptionTitle" type =" string" />
18
18
<argument name =" customOptionType" type =" string" />
19
19
</arguments >
20
-
20
+
21
21
<scrollTo selector =" {{AdminProductCustomizableOptionsSection.customizableOptions}}" stepKey =" scrollToCustomizableOptionsSection" />
22
22
<waitForPageLoad stepKey =" waitForScrolling" />
23
+ <conditionalClick selector =" {{AdminProductCustomizableOptionsSection.customizableOptions}}" dependentSelector =" {{AdminProductCustomizableOptionsSection.addOptionBtn}}" visible =" false" stepKey =" openCustomOptionSection" />
23
24
<click stepKey =" clickAddOptions" selector =" {{AdminProductCustomizableOptionsSection.addOptionBtn}}" />
24
25
<waitForPageLoad stepKey =" waitForAddProductPageLoad" />
25
26
<fillField stepKey =" fillInOptionTitle" selector =" {{AdminProductCustomizableOptionsSection.lastOptionTitle}}" userInput =" {{customOptionTitle}}" />
You can’t perform that action at this time.
0 commit comments