From fed44e3fdb4b514465d29a38db4286921cba6a79 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 4 Aug 2020 18:13:14 -0700 Subject: [PATCH] wait_still_screen after exiting firefox in server_cockpit_default Signed-off-by: Adam Williamson --- tests/server_cockpit_default.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/server_cockpit_default.pm b/tests/server_cockpit_default.pm index 6a168bc8..c7c53f43 100644 --- a/tests/server_cockpit_default.pm +++ b/tests/server_cockpit_default.pm @@ -14,6 +14,10 @@ sub run { start_cockpit(0); # quit firefox (return to console) quit_firefox; + # we don't get back to a prompt instantly and keystrokes while X + # is still shutting down are swallowed, so wait_still_screen before + # finishing (and handing off to next test) + wait_still_screen 5; } sub test_flags {