From 352138aa4e648de0ab9084aa27fcf0e218a03855 Mon Sep 17 00:00:00 2001 From: Ryan Lanny Jenkins Date: Wed, 19 Jun 2024 20:27:47 -0500 Subject: [PATCH] Disable search delay in test it was breaking. --- tests/end2end/features/test_marks_bdd.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/end2end/features/test_marks_bdd.py b/tests/end2end/features/test_marks_bdd.py index 914f6d46c..3cbc1bb91 100644 --- a/tests/end2end/features/test_marks_bdd.py +++ b/tests/end2end/features/test_marks_bdd.py @@ -13,6 +13,11 @@ def turn_on_scroll_logging(quteproc): quteproc.turn_on_scroll_logging(no_scroll_filtering=True) +@pytest.fixture(autouse=True) +def disable_search_delay(quteproc): + quteproc.set_setting('search.delay', '0') + + @bdd.then(bdd.parsers.parse("the page should be scrolled to {x} {y}")) def check_y(request, quteproc, x, y): data = quteproc.get_session()