1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-17 19:01:34 +00:00
os-autoinst-distri-fedora/tests/applications/kcalc/aaa_setup.pm
Lukáš Růžička 0190f38677 Use the new features of menu_launch_type in code.
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
2025-04-25 14:40:54 -07:00

27 lines
451 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This script starts the KCalc application
# and saves the milestone for the following
# tests.
sub run {
my $self = shift;
kde_doublek_workaround();
# Run the application
menu_launch_type("kcalc", checkstart => 1);
# wait for system to settle before snapshotting
sleep 10;
}
sub test_flags {
return {fatal => 1, milestone => 1};
}
1;
# vim: set sw=4 et: