Skip to content

Commit 5f530ef

Browse files
committed
MC-3080: Admin can configure swatches display in configuration
- Removed "body" from my new XPATH selectors
1 parent 351e3ea commit 5f530ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Swatches/Test/Mftf/Section/AdminColorPickerSection.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
1111
<section name="AdminColorPickerSection">
12-
<element name="hexByIndex" type="input" selector="//body/div[@class='colorpicker'][{{var}}]/div[@class='colorpicker_hex']/input" parameterized="true"/>
13-
<element name="submitByIndex" type="button" selector="//body/div[@class='colorpicker'][{{var}}]/div[@class='colorpicker_submit']" parameterized="true"/>
12+
<element name="hexByIndex" type="input" selector="//div[@class='colorpicker'][{{var}}]/div[@class='colorpicker_hex']/input" parameterized="true"/>
13+
<element name="submitByIndex" type="button" selector="//div[@class='colorpicker'][{{var}}]/div[@class='colorpicker_submit']" parameterized="true"/>
1414
</section>
1515
</sections>

0 commit comments

Comments
 (0)