Workaround unexpected authentication required dialog in g-i-s

https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/issues/106
This started happening after the data center move. Really not
sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-06-12 12:28:18 -07:00
parent 1b37200446
commit fd26d347fe
1 changed files with 8 additions and 1 deletions

View File

@ -617,7 +617,14 @@ sub gnome_initial_setup {
# https://bugzilla.gnome.org/show_bug.cgi?id=794825
@nexts = grep {$_ ne 'software'} @nexts;
assert_screen "next_button", $args{timeout};
assert_screen ["next_button", "auth_required"], $args{timeout};
# workaround auth dialog appearing to change timezone even
# though timezone screen is disabled
if (match_has_tag("auth_required")) {
record_soft_failure "Unexpected authentication required: https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/issues/106";
send_key "esc";
assert_screen "next_button";
}
# wait a bit in case of animation
wait_still_screen 3;
# GDM 3.24.1 dumps a cursor in the middle of the screen here...