2018-12-18 12:07:37 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
# This test tests if Terminal starts and uses it to change desktop settings for all the following tests.
|
|
|
|
# Therefore, if you want to use all the tests from the APPS family, this should be the very first to do.
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
2019-09-19 14:03:50 +00:00
|
|
|
# open the application
|
2018-12-18 12:07:37 +00:00
|
|
|
send_key 'alt-f1';
|
|
|
|
wait_still_screen 2;
|
|
|
|
type_very_safely 'terminal';
|
|
|
|
send_key 'ret';
|
|
|
|
wait_still_screen 5;
|
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
|
|
|
|
register_application("gnome-terminal");
|
|
|
|
|
|
|
|
# Close the application
|
2018-12-18 12:07:37 +00:00
|
|
|
quit_with_shortcut();
|
|
|
|
}
|
|
|
|
|
|
|
|
# If this test fails, the others will probably start failing too,
|
|
|
|
# so there is no need to continue.
|
|
|
|
# Also, when subsequent tests fail, the suite will revert to this state for further testing.
|
|
|
|
sub test_flags {
|
|
|
|
return { fatal => 1, milestone => 1 };
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|