Skip to content

Commit 8ca5215

Browse files
committed
wait for element grrs002
1 parent c108a4d commit 8ca5215

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dash-core-components/tests/integration/graph/test_graph_responsive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def update_figures(n_clicks):
205205
dash_dcc.wait_for_text_to_equal("#generate-btn", "Generate Figures")
206206
dash_dcc.find_element("#generate-btn").click()
207207
dash_dcc.wait_for_text_to_equal("#bounding-output", "loaded")
208-
dash_dcc.find_element(".dash-graph .js-plotly-plot.dash-graph--pending")
209-
dash_dcc.find_element(".dash-graph .js-plotly-plot:not(.dash-graph--pending)")
208+
dash_dcc.wait_for_element(".dash-graph .js-plotly-plot.dash-graph--pending")
209+
dash_dcc.wait_for_element(".dash-graph .js-plotly-plot:not(.dash-graph--pending)")
210210
dash_dcc.find_element("#bounding-btn").click()
211211
dash_dcc.wait_for_text_to_equal("#bounding-output", "true")

0 commit comments

Comments
 (0)