1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 14:03:09 +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; prepare_test_packages;
# sometimes, the test is failing because it cannot # sometimes, the test is failing because it cannot
# refresh packages for Gnome Software. Let's do it explicitely. # 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 # get back to the desktop
desktop_vt; desktop_vt;
# run the updater # run the updater

View File

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