From 75f2bd61e7b9ee2551764a17eb3d213cade5d262 Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Fri, 29 Jun 2018 11:02:04 +0200 Subject: [PATCH] Use function to run package tool. --- tests/desktop_upgrade_graphical.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/desktop_upgrade_graphical.pm b/tests/desktop_upgrade_graphical.pm index ee3de46b..758e8473 100644 --- a/tests/desktop_upgrade_graphical.pm +++ b/tests/desktop_upgrade_graphical.pm @@ -20,11 +20,7 @@ sub run { # this launches GNOME Software on GNOME, dunno for any other # desktop yet - assert_screen 'graphical_desktop_clean', 10; - send_key 'alt-f1'; - wait_still_screen 2; - assert_and_click 'overview_package_tool_icon'; - wait_still_screen 5; + menu_launch_type('update'); # GNOME Software has a welcome screen, get rid of it if it shows # up (but don't fail if it doesn't, we're not testing that)