Skip to content

Commit ebf6aa6

Browse files
committed
🙌
1 parent b2f9975 commit ebf6aa6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test_figure_resampler_selenium.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def test_multi_trace_go_figure(driver, multi_trace_go_figure):
611611

612612
# Note: as there is only 1 hf-scatter-trace, the reset axes command will only
613613
# update a single trace
614-
fr.clear_requests(sleep_time_s=3)
614+
fr.clear_requests(sleep_time_s=1)
615615
fr.reset_axes()
616616
time.sleep(3)
617617
RequestParser.browser_independent_single_callback_request_assert(
@@ -625,12 +625,11 @@ def test_multi_trace_go_figure(driver, multi_trace_go_figure):
625625
n_updated_traces=30,
626626
)
627627

628-
time.sleep(5)
629-
fr.drag_and_zoom("xy", x0=0.1, x1=0.3, y0=0.6, y1=0.9)
628+
fr.drag_and_zoom("xy", x0=0.1, x1=0.3, y0=0.3, y1=0.5)
630629
fr.clear_requests(sleep_time_s=3)
631630

632631
# First, apply some horizontal based zooms
633-
fr.clear_requests(sleep_time_s=3)
632+
fr.clear_requests(sleep_time_s=1)
634633
fr.drag_and_zoom("xy", x0=0.1, x1=0.2, y0=0.5, y1=0.5)
635634
time.sleep(3)
636635
# As all axes are shared, we expect at least 3 updated

0 commit comments

Comments
 (0)