From 766eb4936233954f67ad2d30a8b543561e918920 Mon Sep 17 00:00:00 2001 From: Matt Hall Date: Wed, 29 Mar 2023 12:07:20 +0200 Subject: [PATCH] Double timeout for flaky tests to pass on Azure --- tests/views/test_response_correlation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/views/test_response_correlation.py b/tests/views/test_response_correlation.py index 31d9a0b6..b6ea93d3 100644 --- a/tests/views/test_response_correlation.py +++ b/tests/views/test_response_correlation.py @@ -64,7 +64,9 @@ def test_show_respo_with_obs(mock_data, dash_duo): response_selector_id = "#" + plugin.uuid("parameter-selector-multi-resp") dash_duo.wait_for_text_to_equal( - response_selector_id, "\n".join(expected_responses_with_observations) + response_selector_id, + "\n".join(expected_responses_with_observations), + timeout=20, ) @@ -84,6 +86,6 @@ def test_info_text_appears_as_expected( expected_text = "".join( [f"RESPONSE: {response}", f"INDEX: {index}", f"PARAMETER: {parameter}"] ) - dash_duo.wait_for_text_to_equal(info_text_selector, expected_text) + dash_duo.wait_for_text_to_equal(info_text_selector, expected_text, timeout=20) # assert dash_duo.get_logs() == [], "browser console should contain no error"