Skip to content

Commit 7697442

Browse files
committed
fix test
1 parent 3a8942e commit 7697442

File tree

1 file changed

+2
-2
lines changed
  • components/dash-core-components/tests/integration/dropdown

1 file changed

+2
-2
lines changed

components/dash-core-components/tests/integration/dropdown/test_a11y.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_a11y004_selection_visibility_single(dash_duo):
145145
dash_duo.wait_for_element("#dropdown")
146146

147147
dash_duo.find_element("#dropdown").click()
148-
dash_duo.wait_for_element("#dropdown .dash-dropdown-options")
148+
dash_duo.wait_for_element(".dash-dropdown-options")
149149

150150
# Assert that the selected option is visible in the dropdown
151151
selected_option = dash_duo.find_element(".dash-dropdown-option.selected")
@@ -180,7 +180,7 @@ def test_a11y005_selection_visibility_multi(dash_duo):
180180
dash_duo.wait_for_element("#dropdown")
181181

182182
dash_duo.find_element("#dropdown").click()
183-
dash_duo.wait_for_element("#dropdown .dash-dropdown-options")
183+
dash_duo.wait_for_element(".dash-dropdown-options")
184184

185185
# Assert that the selected option is visible in the dropdown
186186
selected_options = dash_duo.find_elements(".dash-dropdown-option.selected")

0 commit comments

Comments
 (0)