From 9f15350a9945bec0fbb5aca369bf9689b3fa154d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 16 Sep 2021 15:18:47 -0700 Subject: [PATCH] Allow g-i-s longer to start up (with a soft fail) (#1997310) Signed-off-by: Adam Williamson --- lib/utils.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index 0437638f..b636ab66 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -726,7 +726,10 @@ sub gnome_initial_setup { # note: in g-i-s 3.37.91 and later, the first screen in systemwide # mode has a "Start Setup" button, not a "Next" button - assert_screen ["next_button", "start_setup", "auth_required"], $args{timeout}; + unless (check_screen ["next_button", "start_setup", "auth_required"], $args{timeout}) { + record_soft_failure "g-i-s taking longer than expected to start up!"; + assert_screen ["next_button", "start_setup", "auth_required"], $args{timeout}; + } # workaround auth dialog appearing to change timezone even # though timezone screen is disabled if (match_has_tag("auth_required")) {