Skip to content

Commit d9cabef

Browse files
remove unnecessary wait
1 parent c3f922a commit d9cabef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/integration/callbacks/test_basic_callback.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ def test_cbsc015_input_output_callback(dash_duo):
658658

659659
app = dash.Dash(__name__)
660660
app.layout = html.Div(
661-
[html.Div(id="input-text"), dcc.Input(id="input", type="number", value=0)]
661+
[html.Div("0", id="input-text"), dcc.Input(id="input", type="number", value=0)]
662662
)
663663

664664
@app.callback(
@@ -684,8 +684,6 @@ def follower_output(v):
684684

685685
dash_duo.start_server(app)
686686

687-
wait.until(lambda: dash_duo.find_element("#input-text").text == "0", 2)
688-
689687
input_ = dash_duo.find_element("#input")
690688
for key in "2":
691689
with lock:

0 commit comments

Comments
 (0)