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 {