mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-07-16 10:21:37 +00:00
We have enhanced the menu_launch_type to allow for start checking and maximizing applications. This PR uses the new functions wherever it seems logical. If special logic was used for certain cases, we have not touched these to preserve the exact behaviour. The crash workaround for the Fonts flatpak is dropped because it no longer seems to be needed with the latest version of the flatpak, and dropping it simplifies this migration. Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/358
26 lines
541 B
Perl
26 lines
541 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This script opens the System Monitor application and saves the milestone
|
|
# to make it ready for further testing.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
|
|
# Set the update notification timestamp
|
|
set_update_notification_timestamp();
|
|
# Start the Application
|
|
menu_launch_type("system_monitor", checkstart => 1, maximize => 1);
|
|
}
|
|
|
|
sub test_flags {
|
|
# If this test fails, there is no need to continue.
|
|
return {fatal => 1, milestone => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|