1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-11 17:34:23 +00:00

Fix terminal work and Gnome Software exec.

This commit is contained in:
Lukas Ruzicka 2018-06-28 16:42:33 +02:00
parent b700bbdac4
commit e55fa809b9
2 changed files with 5 additions and 3 deletions

View File

@ -13,7 +13,9 @@ sub run {
prepare_test_packages;
# sometimes, the test is failing because it cannot
# refresh packages for Gnome Software. Let's do it explicitely.
script_run qq(su -c "pkcon refresh force" -s /bin/sh test), 60;
script_run "su test", 10;
script_run "pkcon refresh force", 60;
script_run "exit", 10;
# get back to the desktop
desktop_vt;
# run the updater

View File

@ -21,8 +21,8 @@ sub run {
# this launches GNOME Software on GNOME, dunno for any other
# desktop yet
send_key 'alt-f1';
wait_still_screen 5;
menu_launch_type('update');
wait_still_screen 2;
assert_and_click 'overview_package_tool_icon';
wait_still_screen 5;
# GNOME Software has a welcome screen, get rid of it if it shows