From 2a8acb6acbe3da734a0b6bbc8272fc5513c40962 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 25 Jul 2019 14:28:17 -0700 Subject: [PATCH] start_cockpit: lower similarity level for wait_still_screen Flashing cursor, again. Signed-off-by: Adam Williamson --- lib/utils.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index abab7f35..bf850fe9 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -325,7 +325,8 @@ sub start_cockpit { assert_screen "cockpit_login", 30; # this happened on early Modular Server composes... record_soft_failure "Unbranded Cockpit" if (match_has_tag "cockpit_login_unbranded"); - wait_still_screen 5; + # login screen has a flashing cursor so screen is not still at level 47 + wait_still_screen(stilltime=>5, similarity_level=>45); if ($login) { type_safely "root"; wait_screen_change { send_key "tab"; };