1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-14 02:34:21 +00:00
os-autoinst-distri-fedora/tests/apps_startstop/kde/kontakt.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
593 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Kontact starts.
sub run {
my $self = shift;
# Start the application
menu_launch_type 'kontact';
# Get rid of personal data
assert_and_click 'kontact_provide_data';
if (check_screen("enable_unified_mailboxes", 3)) {
assert_and_click "enable_unified_mailboxes";
}
# Check that it is started
assert_screen 'kontact_runs';
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: