Skip to content

Commit aeba8ac

Browse files
Manjusha.SManjusha.S
authored andcommitted
fix
1 parent adc28b2 commit aeba8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Swatches/Test/Mftf/Test/StorefrontFilterByImageSwatchTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<fillField selector="{{AdminManageSwatchSection.adminInputByIndex('0')}}" userInput="adobe-thumb" stepKey="fillAdmin1"/>
5959

6060
<!-- Set swatch #2 image using the file upload -->
61-
<click selector="{{AdminManageSwatchSection.addSwatch}}" stepKey="clickAddSwatch2"/>
61+
<executeJS function="jQuery('#add_new_swatch_visual_option_button').click()" stepKey="clickAddSwatch2"/>
6262
<actionGroup ref="OpenSwatchMenuByIndexActionGroup" stepKey="clickSwatch2">
6363
<argument name="index" value="1"/>
6464
</actionGroup>

0 commit comments

Comments
 (0)