mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-25 20:20:56 +00:00
Extend gnome-software/issues/582 workaround to 2 auth requests
It seems that when this problem happens now we get *two* auth requests, so we need to handle that. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
d0d99946ce
commit
ccb67bd5a7
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@ sub run {
|
|||
record_soft_failure "spurious 'auth required' - https://gitlab.gnome.org/GNOME/gnome-software/issues/582";
|
||||
# bit sloppy but correct for both...
|
||||
type_very_safely "weakpassword\n";
|
||||
# as of 2019-04 when we hit this bug it seems to ask for
|
||||
# auth *twice*, so handle that
|
||||
sleep 3;
|
||||
if (check_screen "auth_required", 1) {
|
||||
type_very_safely "weakpassword\n";
|
||||
}
|
||||
}
|
||||
# this launches GNOME Software on GNOME, dunno for any other
|
||||
# desktop yet
|
||||
|
|
Loading…
Reference in a new issue