diff --git a/tests/desktop_update_graphical.pm b/tests/desktop_update_graphical.pm index 792283c7..3ec6c6e2 100644 --- a/tests/desktop_update_graphical.pm +++ b/tests/desktop_update_graphical.pm @@ -40,7 +40,9 @@ sub run { # GNOME Software 44+ has a 3rd party source pop-up, get rid of it # if it shows up (but don't fail if it doesn't, we're not testing that) if ($desktop eq 'gnome' && check_screen 'gnome_software_ignore', 10) { - click_lastmatch; + wait_still_screen 3; + # match again as the dialog may have moved a bit + assert_and_click 'gnome_software_ignore'; } # go to the 'update' interface. We may be waiting some time at a # 'Software catalog is being loaded' screen.