1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-11 13:53:08 +00:00
os-autoinst-distri-fedora/tests/apps_startstop/gnome/terminal.pm
Adam Williamson 4be9ce3e88 Use 'terminal' instead of 'gnome-terminal' for ptyxis switch
In several places we run 'gnome-terminal' explicitly, but as of
today's compose, the default terminal app on GNOME in Rawhide is
ptyxis, not gnome-terminal.

Running 'terminal' should launch whichever is correct, so let's
consistently do that.

Also, add an apps_run_terminal needle and navigation navbar
needle for ptyxis.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-13 10:39:20 -04:00

29 lines
487 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This test tests if Terminal starts (which will be gnome-terminal
# in Fedora < 41, ptyxis in Fedora >= 41)
sub run {
my $self = shift;
# open the application
menu_launch_type "terminal";
assert_screen "apps_run_terminal";
# Register application
register_application("terminal");
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {};
}
1;
# vim: set sw=4 et: