mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-14 10:44:22 +00:00
4be9ce3e88
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>
29 lines
487 B
Perl
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:
|