1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-01 05:54:22 +00:00
os-autoinst-distri-fedora/tests/apps_startstop/gnome/texteditor.pm
Adam Williamson 3ae23f66a9 Update GNOME apps test for gedit->gnome-text-editor switch
Workstation replaced gedit with gnome-text-editor. This updates
the needles and also changes the name used for 'tagging' the
application for the core_applications test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-18 15:11:50 -08:00

28 lines
501 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Text Editor starts.
sub run {
my $self = shift;
# Start the application
start_with_launcher('apps_menu_texteditor');
# Check that is started
assert_screen 'apps_run_texteditor';
# Register application
register_application("gnome-text-editor");
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: