Skip to content

Commit e5260cd

Browse files
ACQE-7030-2: AdminAddCustomOptionsActionGroup
Updated Action group
1 parent 78d2c4d commit e5260cd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminAddCustomOptionsActionGroup.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
<description>Clicks on 'Add Option'. Adds the provided Options under the provided Custom Option Name to a Product on the Admin Product creation/edit page under the 'Customizable Options' section.</description>
1313
</annotations>
1414
<arguments>
15-
<argument name="customOption" type="entity"/>
15+
<argument name="title" type="string"/>
16+
<argument name="price" type="string"/>
1617
</arguments>
1718
<!-- Add option based on the parameter -->
18-
<click stepKey="clickAddFirstValue" selector="{{AdminProductCustomizableOptionsSection.addValue}}"/>
19-
<fillField stepKey="fillInCustomOptionValueTitle" selector="{{AdminProductCustomizableOptionsSection.valueTitle}}" userInput="{{customOption.title}}"/>
20-
<fillField stepKey="fillInCustomOptionValuePrice" selector="{{AdminProductCustomizableOptionsSection.valuePrice}}" userInput="{{customOption.price}}"/>
19+
<click stepKey="clickAddValue" selector="{{AdminProductCustomizableOptionsSection.addValue}}"/>
20+
<fillField stepKey="fillInCustomOptionValueTitle" selector="{{AdminProductCustomizableOptionsSection.valueTitle}}" userInput="{{title}}"/>
21+
<fillField stepKey="fillInCustomOptionValuePrice" selector="{{AdminProductCustomizableOptionsSection.valuePrice}}" userInput="{{price}}"/>
2122
</actionGroup>
2223
</actionGroups>

0 commit comments

Comments
 (0)