2018-12-18 12:07:37 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
2024-08-13 13:38:24 +00:00
|
|
|
# This test tests if Terminal starts (which will be gnome-terminal
|
|
|
|
# in Fedora < 41, ptyxis in Fedora >= 41)
|
2018-12-18 12:07:37 +00:00
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
2019-09-19 14:03:50 +00:00
|
|
|
# open the application
|
2021-09-06 15:34:45 +00:00
|
|
|
menu_launch_type "terminal";
|
2020-02-25 09:24:38 +00:00
|
|
|
assert_screen "apps_run_terminal";
|
2018-12-18 12:07:37 +00:00
|
|
|
|
2019-09-19 14:03:50 +00:00
|
|
|
# Register application
|
2024-08-13 13:38:24 +00:00
|
|
|
register_application("terminal");
|
2019-09-19 14:03:50 +00:00
|
|
|
|
|
|
|
# Close the application
|
2018-12-18 12:07:37 +00:00
|
|
|
quit_with_shortcut();
|
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
2024-04-12 19:45:47 +00:00
|
|
|
return {};
|
2018-12-18 12:07:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|