Skip to content

Commit 4ffff76

Browse files
Merge pull request #167 from splunk/INFRA-33660-UI-element-for-Alert-actions-no-longer-has-the-right-tags-for-the-dropdown-element-to-be-found
INFRA-33660 Fixing UI element for Alert Actions dropdown element
2 parents 303f7ad + f63d27c commit 4ffff76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_splunk_addon_ui_smartx/alert_actions/components/account_select.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ def __init__(self, browser, container):
1313
super(AlertAccountSelect, self).__init__(browser, container)
1414
self.elements.update({
1515
"internal_container": Selector(select=container.select + " .splunk-dropdown"),
16-
"dropdown": Selector(select=container.select + ' button[data-is-menu="true"]'),
17-
"selected": Selector(select=container.select + ' button[data-is-menu="true"] span[data-test="label"]'),
16+
"dropdown": Selector(select=container.select + ' button[label="Select..."]'),
17+
"selected": Selector(select=container.select + ' button[type="button"] span[data-test="label"]'),
1818
"values": Selector(select='div[data-test="popover"] button[data-test="option"]'),
1919
"cancel_selected": Selector(select=container.select + ' button[data-icon-only="true"]')
2020
})

0 commit comments

Comments
 (0)