1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-17 05:17:22 +00:00
os-autoinst-distri-fedora/tests/apps_startstop/kde/kmail.pm
Adam Williamson 492fcf62e4 Great Needle Cleanup 2021
Remove a whole chunk of needles that haven't matched for more
than 3 months. Also move a few needles to appropriate locations,
simplify some code chunks that relied on removed needles (if
we're not matching the needles, we don't need those chunks any
more), and drop some other no-longer-needed conditionals for
older releases.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-10 11:57:48 -07:00

32 lines
570 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Kmail starts.
sub run {
my $self = shift;
# Start the application
menu_launch_type 'kmail';
# Cancel Kmail data wizard
assert_and_click 'kmail_cancel_data';
if (check_screen("kmail_cancel_data", 1)) {
assert_and_click "kmail_cancel_data";
}
# Check that it is started
assert_screen 'kmail_runs';
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: