Skip to content

Commit 8b3abd2

Browse files
committed
fix new callback graph layout test for small CI screen
1 parent 3a6222c commit 8b3abd2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/integration/devtools/test_devtools_ui.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,12 @@ def test_dvui003_callback_graph(dash_duo):
110110

111111
# hide and redraw the callback graph so we get the new position
112112
dash_duo.find_element(".dash-debug-menu__button--callbacks").click()
113-
dash_duo.find_element(".dash-debug-menu__button--callbacks").click()
114-
sleep(2)
115113

116-
# fire callbacks so the callback graph redraws again
114+
# fire callbacks so the profile state is regenerated
117115
dash_duo.find_element("#add").click()
116+
dash_duo.find_element(".dash-debug-menu__button--callbacks").click()
118117
dash_duo.wait_for_text_to_equal("#totals", "0 of 1 items completed - 0%")
119-
sleep(1)
118+
sleep(2)
120119
# the manually moved node is still in its new position
121120
assert pos == dash_duo.driver.execute_script(
122121
"""

0 commit comments

Comments
 (0)