Skip to content

Commit 5e60b3d

Browse files
Update components/dash-core-components/tests/integration/graph/test_graph_varia.py
Co-authored-by: Alex Johnson <[email protected]>
1 parent a2da31d commit 5e60b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ def load_chart(n_clicks):
886886
)
887887

888888
# Give time for the async dependency to be requested (if any)
889-
time.sleep(2)
889+
dash_dcc.wait_for_element("button#btn")
890890

891891
scripts = dash_dcc.driver.find_elements(By.CSS_SELECTOR, "script")
892892
assert findSyncMathJax(scripts) is None

0 commit comments

Comments
 (0)