mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 23:03:08 +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
@ -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 New Issue
Block a user