File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
app/code/Magento/Catalog/Test/Mftf Expand file tree Collapse file tree 2 files changed +33
-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 2024 Adobe
5
+ * All Rights Reserved.
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 =" StorefrontAssertCustomOptionValuesInProductDetailsPageActionGroup" >
12
+ <annotations >
13
+ <description >Storefront Assert Custom Option Values In Product Details Page.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" firstOption" type =" string" defaultValue =" Value2" />
17
+ <argument name =" secondOption" type =" string" defaultValue =" Value3" />
18
+ </arguments >
19
+ <waitForElementVisible selector =" {{StorefrontProductInfoMainSection.selectCustomOptionDropDown}}" stepKey =" waitForOptionDropDownToBeClickable" />
20
+ <click selector =" {{StorefrontProductInfoMainSection.selectCustomOptionDropDown}}" stepKey =" clickOption1ValueDropDown" />
21
+ <waitForElement selector =" {{StorefrontProductInfoMainSection.customOptionDropDown(firstOption)}}" stepKey =" assertValue1InDropDown" />
22
+ <waitForElement selector =" {{StorefrontProductInfoMainSection.customOptionDropDown(secondOption)}}" stepKey =" assertValue2InDropDown" />
23
+ <waitForElementVisible selector =" {{StorefrontProductInfoMainSection.selectCustomOptionDropDown}}" stepKey =" againWaitForOptionDropDownToClose" />
24
+ <click selector =" {{StorefrontProductInfoMainSection.selectCustomOptionDropDown}}" stepKey =" againClickOptionValueDropDownToClose" />
25
+ </actionGroup >
26
+ </actionGroups >
27
+
Original file line number Diff line number Diff line change 1574
1574
<requiredEntity type =" product_extension_attribute" >EavStock1</requiredEntity >
1575
1575
<requiredEntity type =" custom_attribute_array" >CustomAttributeCategoryIds</requiredEntity >
1576
1576
</entity >
1577
+ <entity name =" productWithTwoCustomOptions" type =" product" >
1578
+ <var key =" sku" entityType =" product" entityKey =" sku" />
1579
+ <data key =" file" >magento.jpg</data >
1580
+ <requiredEntity type =" product_option" >ProductOptionDropDownFor2</requiredEntity >
1581
+ <requiredEntity type =" product_option" >ProductOptionCheckboxFor2</requiredEntity >
1582
+ </entity >
1577
1583
</entities >
You can’t perform that action at this time.
0 commit comments