mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-11 17:34:23 +00:00
Enhance comments and alter some waiting times.
This commit is contained in:
parent
5171b31327
commit
ca16b82690
@ -28,15 +28,15 @@ sub run {
|
|||||||
# }
|
# }
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
# If a banner appears that offers enablement of third party, discard it.
|
||||||
if (check_screen('desktop_package_tool_thirdparty_enable', 60)) {
|
if (check_screen('desktop_package_tool_thirdparty_enable', 60)) {
|
||||||
assert_and_click 'desktop_package_tool_thirdparty_enable_cancel','left', 10;
|
assert_and_click 'desktop_package_tool_thirdparty_enable_cancel','left', 30;
|
||||||
}
|
}
|
||||||
wait_still_screen 2;
|
wait_still_screen 2;
|
||||||
|
|
||||||
|
|
||||||
# the previous step checked the screen, now click on the update
|
# now click on the update button
|
||||||
# button
|
assert_and_click 'desktop_package_tool_update','left', 120;
|
||||||
assert_and_click 'desktop_package_tool_update','left', 360;
|
|
||||||
wait_still_screen 2;
|
wait_still_screen 2;
|
||||||
# a banner should inform about new version, download it
|
# a banner should inform about new version, download it
|
||||||
assert_and_click 'desktop_package_tool_download','left', 1800;
|
assert_and_click 'desktop_package_tool_download','left', 1800;
|
||||||
@ -59,12 +59,10 @@ sub run {
|
|||||||
|
|
||||||
# on GNOME, wait for reboots.
|
# on GNOME, wait for reboots.
|
||||||
if ($desktop eq 'gnome') {
|
if ($desktop eq 'gnome') {
|
||||||
# handle reboot confirm screen which pops up when user is
|
# handle reboot confirm screen which pops up
|
||||||
# logged in (but don't fail if it doesn't as we're not testing
|
|
||||||
# that)
|
|
||||||
|
|
||||||
type_very_safely(get_var('USER_PASSWORD','weakpassword'));
|
type_very_safely(get_var('USER_PASSWORD','weakpassword'));
|
||||||
assert_and_click('desktop_package_tool_authenticate','',30);
|
assert_and_click('desktop_package_tool_authenticate','',60);
|
||||||
|
|
||||||
assert_and_click('desktop_package_tool_restart','',30);
|
assert_and_click('desktop_package_tool_restart','',30);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user