mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-01-09 02:23:08 +00:00
Update library.
This commit is contained in:
parent
17e3189283
commit
44a964bb38
@ -68,14 +68,6 @@ sub check_application_information {
|
|||||||
# you need to start it before running this.
|
# you need to start it before running this.
|
||||||
sub install_application {
|
sub install_application {
|
||||||
my ($application, $source) = @_;
|
my ($application, $source) = @_;
|
||||||
# Sometimes, especially when this method is used several
|
|
||||||
# times in a row, Software can be located on the
|
|
||||||
# installation tab and we need to leave it until
|
|
||||||
# we can proceed.
|
|
||||||
if (check_screen("software_back_button")) {
|
|
||||||
click_lastmatch();
|
|
||||||
}
|
|
||||||
|
|
||||||
# For some applications, there are more installation sources
|
# For some applications, there are more installation sources
|
||||||
# available. Pick the desired one.
|
# available. Pick the desired one.
|
||||||
if (check_screen("software_sources_available", timeout => 5)) {
|
if (check_screen("software_sources_available", timeout => 5)) {
|
||||||
@ -96,6 +88,11 @@ sub install_application {
|
|||||||
$wait_time = 1200;
|
$wait_time = 1200;
|
||||||
}
|
}
|
||||||
assert_screen("gnome_button_open", timeout => $wait_time);
|
assert_screen("gnome_button_open", timeout => $wait_time);
|
||||||
|
# After the installation, return back on the basic screen.
|
||||||
|
while (! check_screen("software_search_button")) {
|
||||||
|
assert_and_click("software_back_button");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This subroutine opens the $application using Gnome Software.
|
# This subroutine opens the $application using Gnome Software.
|
||||||
|
Loading…
Reference in New Issue
Block a user