From 7ad6628d84c104877de7040e0b10307e93be4ebe Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 19 Feb 2021 11:05:43 -0800 Subject: [PATCH] Add a wait_still_screen to the cockpit update changes Otherwise matching could run ahead of the actual level change. Signed-off-by: Adam Williamson --- tests/server_cockpit_basic.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/server_cockpit_basic.pm b/tests/server_cockpit_basic.pm index 4aa63fff..7c089e7e 100644 --- a/tests/server_cockpit_basic.pm +++ b/tests/server_cockpit_basic.pm @@ -20,6 +20,7 @@ sub run { send_key "backspace"; send_key "backspace"; type_string "info\n"; + wait_still_screen 5; # now click an entry assert_and_click "cockpit_logs_entry"; # check we get to the appropriate detail screen