diff --git a/needles/gnome/desktop_auth_required-gnome.json b/needles/gnome/desktop_auth_required-gnome.json new file mode 100644 index 00000000..56c218d6 --- /dev/null +++ b/needles/gnome/desktop_auth_required-gnome.json @@ -0,0 +1,16 @@ +{ + "tags": [ + "DESKTOP-gnome", + "desktop_auth_required" + ], + "area": [ + { + "xpos": 593, + "ypos": 521, + "width": 86, + "height": 16, + "type": "match" + } + ], + "properties": [] +} \ No newline at end of file diff --git a/needles/gnome/desktop_auth_required-gnome.png b/needles/gnome/desktop_auth_required-gnome.png new file mode 100644 index 00000000..4c9b6484 Binary files /dev/null and b/needles/gnome/desktop_auth_required-gnome.png differ diff --git a/tests/_graphical_wait_login.pm b/tests/_graphical_wait_login.pm index ff7343be..5ba8946c 100644 --- a/tests/_graphical_wait_login.pm +++ b/tests/_graphical_wait_login.pm @@ -51,6 +51,17 @@ sub run { } send_key "ret"; + # An auth request for update check appears on FAW 28 at this + # point, until + # https://pagure.io/fedora-release/pull-request/131 is merged + # and built + if (get_var("SUBVARIANT") eq 'AtomicWorkstation') { + if (check_screen "desktop_auth_required", 120) { + record_soft_failure "Update auth dialog on FAW - #1561853"; + assert_and_click "desktop_auth_required"; + } + } + # Handle initial-setup, for GNOME, unless START_AFTER_TEST # is set in which case it will have been done already. Always # do it if ADVISORY is set, as for the update testing flow,