From f785a055aa06da16cfcee9f00106f105f69b04f7 Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Fri, 29 Jun 2018 12:35:33 +0200 Subject: [PATCH] Add click on Update --- tests/desktop_upgrade_graphical.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/desktop_upgrade_graphical.pm b/tests/desktop_upgrade_graphical.pm index f93dd0d6..a3836be1 100644 --- a/tests/desktop_upgrade_graphical.pm +++ b/tests/desktop_upgrade_graphical.pm @@ -27,9 +27,15 @@ sub run { mouse_hide; } } - # a banner informs about new version, download it + + # the previous step checked the screen, now click on the update + # button + assert_and_click 'desktop_package_tool_update', 20; + wait_still_screen 2; + # a banner should inform about new version, download it assert_and_click 'desktop_package_tool_download', 300; wait_still_screen 5; + # after the download, Install the updates assert_and_click 'desktop_package_tool_install', 300; # wait for refresh, then apply updates, using a C-style loop so we