2019-01-29 14:40:52 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
# This test checks that Kmail starts.
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2019-01-29 14:40:52 +00:00
|
|
|
# Start the application
|
2019-05-07 09:42:36 +00:00
|
|
|
menu_launch_type 'kmail';
|
2024-02-27 09:42:08 +00:00
|
|
|
# The Kmail window is now covered with an account
|
|
|
|
# creation dialogue. Let's get rid of it to be able
|
|
|
|
# to assert the Kmail window again.
|
|
|
|
if (check_screen("kmail_account_dialogue", timeout => 30)) {
|
|
|
|
# Click on the exit icon
|
|
|
|
assert_and_click("kde_exit_icon");
|
2022-10-06 07:18:21 +00:00
|
|
|
}
|
2024-02-27 09:42:08 +00:00
|
|
|
assert_screen("kmail_runs");
|
|
|
|
|
2022-10-10 13:04:06 +00:00
|
|
|
# Close the application
|
|
|
|
quit_with_shortcut();
|
2019-01-29 14:40:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
|
|
|
return {always_rollback => 1};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|