diff --git a/needles/gnome/apps/software_button_details.json b/needles/gnome/apps/software_button_details.json new file mode 100644 index 00000000..77f9d8ad --- /dev/null +++ b/needles/gnome/apps/software_button_details.json @@ -0,0 +1,16 @@ +{ + "properties": [], + "tags": [ + "software_button_details" + ], + "area": [ + { + "xpos": 610, + "ypos": 711, + "width": 57, + "height": 20, + "type": "match", + "match": "90" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/software_button_details.png b/needles/gnome/apps/software_button_details.png new file mode 100644 index 00000000..65a1e0ff Binary files /dev/null and b/needles/gnome/apps/software_button_details.png differ diff --git a/tests/desktop_update_graphical.pm b/tests/desktop_update_graphical.pm index 68f2d95d..cfd0f423 100644 --- a/tests/desktop_update_graphical.pm +++ b/tests/desktop_update_graphical.pm @@ -96,6 +96,12 @@ sub run { # https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2246 click_lastmatch if (check_screen "desktop_package_tool_update_download_unsigned", 30); } + # If there is an issue and Software reports it, let us click + # "Details" to see what the problem was to make later + # troubleshooting easier. + if (check_screen("software_button_details", timeout => 30)) { + click_lastmatch(); + } $tags = ['desktop_package_tool_update_apply']; next; }