mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-11 17:34:23 +00:00
try to fix the refresh.
This commit is contained in:
parent
988deea680
commit
13b1f40c3b
@ -13,9 +13,7 @@ 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 "su test", 10;
|
||||
script_run "pkcon refresh force", 60;
|
||||
script_run "exit", 10;
|
||||
# get back to the desktop
|
||||
desktop_vt;
|
||||
# run the updater
|
||||
@ -49,9 +47,9 @@ sub run {
|
||||
# if this is KDE and it had already noticed the notification, we
|
||||
# will already have the apply button at this point
|
||||
unless (check_screen 'desktop_package_tool_update_apply', 5) {
|
||||
# refresh updates
|
||||
assert_and_click 'desktop_package_tool_update_refresh';
|
||||
wait_still_screen 20;
|
||||
assert_and_click 'desktop_package_tool_update_refresh', '', 120;
|
||||
}
|
||||
unless (check_screen 'desktop_package_tool_update_apply', 5) {
|
||||
assert_and_click 'desktop_package_tool_update_refresh', '', 120;
|
||||
}
|
||||
# wait for refresh, then apply updates, using a C-style loop so we
|
||||
|
Loading…
Reference in New Issue
Block a user