1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-29 09:03:08 +00:00
os-autoinst-distri-fedora/tests/apps_startstop/gnome/terminal.pm
Adam Williamson 9882ddcaa5 Robustify and tweak switch out of overview on GNOME boot
This fails sometimes just because we're too early, or something.
Also with GNOME Shell 41rc, alt-f1 no longer works to open and
close the overview. super *does* seem to work in KDE these days,
so let's switch from alt-f1 to super everywhere.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-07 11:05:55 -07:00

31 lines
645 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This test tests if Terminal starts.
sub run {
my $self = shift;
# open the application
menu_launch_type "terminal";
assert_screen "apps_run_terminal";
# Register application
register_application("gnome-terminal");
# Close the application
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: