mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-29 02:25:50 +00:00
Make alterations to make the test work.
This commit is contained in:
parent
c653e182cc
commit
58dea2b9e7
@ -24,7 +24,7 @@ sub run {
|
||||
|
||||
# If it is run for the first time, hit the Browse button to
|
||||
# speed things up.
|
||||
if (check_screen("gnome_software_browse_button")) {
|
||||
if (check_screen("gnome_software_browse_button", timeout => 60)) {
|
||||
assert_and_click("gnome_software_browse_button");
|
||||
}
|
||||
|
||||
@ -41,12 +41,12 @@ sub run {
|
||||
|
||||
# Wait until it gets downloaded. It can take a long time, so
|
||||
# we will do regular checks.
|
||||
wait_until_needlematch("gnome_software_new_install", 10, 120);
|
||||
wait_until_needlematch("gnome_software_new_install", 10, 600);
|
||||
|
||||
# Click to Install the updates
|
||||
assert_and_click("gnome_software_new_install");
|
||||
|
||||
if (check_screen("gnome_software_authenticate")) {
|
||||
if (check_screen("gnome_software_authenticate", timeout => 60)) {
|
||||
# If authentication dialogue, then authenticate
|
||||
type_safely(get_var("USER_PASSWORD"));
|
||||
send_key("ret");
|
||||
@ -55,9 +55,8 @@ sub run {
|
||||
die("There was no authentication dialogue requested for an activity where it should have been.");
|
||||
}
|
||||
|
||||
if (check_screen("gnome_software_restart")) {
|
||||
assert_and_click("gnome_software_restart");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user