Avoid duplication between desktop_update and 'software' app test

The 'software' test module in GNOME apps_startstop does a subset
of what the desktop_update_graphical test does already, but
using its own needles. Let's just have it use the same needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-03-01 15:58:45 -08:00
parent c0e83e3e3d
commit 1aee5d1ec0
1 changed files with 2 additions and 5 deletions

View File

@ -13,11 +13,8 @@ sub run {
# check if a welcome screen appears, if so, click on it
if (check_screen('apps_run_software_welcome', 1)) {
assert_and_click 'apps_run_software_welcome';
wait_still_screen 2;
}
assert_screen 'apps_run_software';
send_key 'ret' if (check_screen('gnome_software_welcome', 10));
assert_screen 'desktop_package_tool_update';
# Register application
register_application("gnome-software");
# Close the application