mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +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:
parent
bd4edb0da7
commit
5cbc7df810
16
needles/gnome/desktop_update_auth_required.json
Normal file
16
needles/gnome/desktop_update_auth_required.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 298,
|
||||||
|
"ypos": 265,
|
||||||
|
"width": 46,
|
||||||
|
"height": 32,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"DESKTOP-gnome",
|
||||||
|
"desktop_update_auth_required"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/desktop_update_auth_required.png
Normal file
BIN
needles/gnome/desktop_update_auth_required.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 365 KiB |
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user