start_cockpit: lower similarity level for wait_still_screen

Flashing cursor, again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-07-25 14:28:17 -07:00
parent c4c998c5a8
commit 2a8acb6acb

View File

@ -325,7 +325,8 @@ sub start_cockpit {
assert_screen "cockpit_login", 30; assert_screen "cockpit_login", 30;
# this happened on early Modular Server composes... # this happened on early Modular Server composes...
record_soft_failure "Unbranded Cockpit" if (match_has_tag "cockpit_login_unbranded"); 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) { if ($login) {
type_safely "root"; type_safely "root";
wait_screen_change { send_key "tab"; }; wait_screen_change { send_key "tab"; };