Skip to content

Commit ab41eb8

Browse files
committed
MC-37896: Create automated test for "Reset Widget"
1 parent 5cec549 commit ab41eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Widget/Test/Mftf/Section/AdminNewWidgetSection.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<element name="widgetType" type="select" selector="#code"/>
1313
<element name="widgetDesignTheme" type="select" selector="#theme_id"/>
1414
<element name="continue" type="button" timeout="30" selector="#continue_button"/>
15-
<element name="resetBtn" type="button" selector=".page-actions-buttons .reset" timeout="30"/>
15+
<element name="resetBtn" type="button" selector=".page-actions-buttons button#reset" timeout="30"/>
1616
<element name="widgetTitle" type="input" selector="#title"/>
1717
<element name="widgetStoreIds" type="select" selector="#store_ids"/>
1818
<element name="widgetSortOrder" type="input" selector="#sort_order"/>
@@ -43,7 +43,7 @@
4343
<element name="displayMode" type="select" selector="select[id*='display_mode']"/>
4444
<element name="restrictTypes" type="select" selector="select[id*='types']"/>
4545
<element name="saveAndContinue" type="button" selector="#save_and_edit_button" timeout="30"/>
46-
<element name="widgetInstanceType" type="select" selector=".admin__field-control .admin__control-select" />
46+
<element name="widgetInstanceType" type="select" selector=".admin__field-control select#instance_code" />
4747
<!-- Catalog Product List Widget Options -->
4848
<element name="title" type="input" selector="[name='parameters[title]']"/>
4949
<element name="displayPageControl" type="select" selector="[name='parameters[show_pager]']"/>

0 commit comments

Comments
 (0)