mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-11 19:15:45 +00:00
34 lines
605 B
Perl
34 lines
605 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This test checks that XCFE4-terminal starts.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
my $mode = get_var('MODE');
|
|
|
|
# Start the application
|
|
if ($mode eq 'fast') {
|
|
start_with_command 'xfce4-terminal';
|
|
}
|
|
else {
|
|
#start_with_launcher('konsole_launch','menu_applications','menu_system');
|
|
sleep 1;
|
|
}
|
|
# Check that it is started
|
|
assert_screen 'terminal_runs';
|
|
# Close the application
|
|
quit_with_shortcut();
|
|
}
|
|
|
|
sub test_flags {
|
|
return {always_rollback => 1};
|
|
}
|
|
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|