Skip to content

Commit 64b1a60

Browse files
committed
Wait between clicks cbpu002
1 parent 0af38c4 commit 64b1a60

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/integration/callbacks/test_prevent_update.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import time
12
from multiprocessing import Value
23

34
from copy import copy
@@ -94,7 +95,10 @@ def show_clicks(n):
9495

9596
dash_duo.start_server(app)
9697

97-
dash_duo.multiple_click("#btn", 10)
98+
btn = dash_duo.wait_for_element("#btn")
99+
for i in range(10):
100+
btn.click()
101+
time.sleep(0.2)
98102

99103
dash_duo.wait_for_text_to_equal("#n1", "4")
100104
dash_duo.wait_for_text_to_equal("#n2", "2")

0 commit comments

Comments
 (0)