1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Work around GGO gnome-software/582 till it's fixed

We're getting a spurious "Authentication required" for a
background refresh of the system repos sometimes, depending on
whether it happens while we're at a tty. This is now accepted
by upstream, so let's handle it and make it a soft failure for
now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-02-07 09:06:38 -08:00
parent bd4edb0da7
commit 5cbc7df810
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 298,
"ypos": 265,
"width": 46,
"height": 32,
"type": "match"
}
],
"properties": [],
"tags": [
"DESKTOP-gnome",
"desktop_update_auth_required"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 KiB

View File

@ -20,6 +20,13 @@ sub run {
assert_and_click 'desktop_expand_systray'; assert_and_click 'desktop_expand_systray';
} }
else { else {
# work around https://gitlab.gnome.org/GNOME/gnome-software/issues/582
# if it happens
if (check_screen "desktop_update_auth_required", 10) {
record_soft_failure "spurious 'auth required' - https://gitlab.gnome.org/GNOME/gnome-software/issues/582";
# bit sloppy but correct for both...
type_safely "weakpassword\n";
}
# this launches GNOME Software on GNOME, dunno for any other # this launches GNOME Software on GNOME, dunno for any other
# desktop yet # desktop yet
sleep 3; sleep 3;