mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-07-04 12:51:33 +00:00
Fix routine.
This commit is contained in:
parent
f6a12f41a4
commit
ed026cc235
@ -88,11 +88,10 @@ 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.
|
# After the installation, return to the previous page.
|
||||||
if (check_screen("software_back_button")) {
|
if (check_screen("software_back_button")) {
|
||||||
click_lastmatch();
|
click_lastmatch();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This subroutine opens the $application using Gnome Software.
|
# This subroutine opens the $application using Gnome Software.
|
||||||
@ -124,12 +123,6 @@ sub start_application_via_packagemanager {
|
|||||||
# application has been found (or it will fail).
|
# application has been found (or it will fail).
|
||||||
sub check_app_installed {
|
sub check_app_installed {
|
||||||
my $application = shift;
|
my $application = shift;
|
||||||
# It is possible that we still find ourselves in the Installation
|
|
||||||
# pane. In that case, the Installed button is not visible, therefore
|
|
||||||
# we need to go back in the GUI if this is the sitation.
|
|
||||||
unless (check_screen("software_installed_button")) {
|
|
||||||
assert_and_click("software_back_button");
|
|
||||||
}
|
|
||||||
# Look for the application and confirm that it is listed as installed
|
# Look for the application and confirm that it is listed as installed
|
||||||
# in the application overview.
|
# in the application overview.
|
||||||
assert_and_click("gnome_search_button");
|
assert_and_click("gnome_search_button");
|
||||||
|
Loading…
Reference in New Issue
Block a user