diff --git a/needles/gnome/cancel_updates.json b/needles/gnome/cancel_updates.json new file mode 100644 index 00000000..b732e270 --- /dev/null +++ b/needles/gnome/cancel_updates.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "gnome_cancel_updates" + ], + "area": [ + { + "xpos": 328, + "ypos": 393, + "width": 53, + "height": 27, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/cancel_updates.png b/needles/gnome/cancel_updates.png new file mode 100644 index 00000000..2982fb67 Binary files /dev/null and b/needles/gnome/cancel_updates.png differ diff --git a/tests/desktop_login.pm b/tests/desktop_login.pm index d7e37a50..898ff077 100644 --- a/tests/desktop_login.pm +++ b/tests/desktop_login.pm @@ -170,6 +170,9 @@ sub reboot_system { # needles powering off the machine. So I split this for KDE and Gnome. # This holds true for Gnome: assert_and_click "power_off_entry"; + if (check_screen "gnome_cancel_update") { + assert_and_click "gnome_cancel_update"; + } assert_and_click "restart_confirm"; } else {