mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-24 19:58:29 +00:00
be12f07900
Also add a new needle for Impress startup. Signed-off-by: Adam Williamson <awilliam@redhat.com>
29 lines
539 B
Perl
29 lines
539 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This test checks that LibreOffice Impress starts.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
|
|
# Start the application
|
|
start_with_launcher('apps_menu_limpress');
|
|
# Dismiss 'tip of the day' if necessary
|
|
lo_dismiss_tip;
|
|
# Check that is started
|
|
assert_and_click 'apps_run_limpress_start';
|
|
assert_screen 'apps_run_limpress';
|
|
# Close the application
|
|
quit_with_shortcut();
|
|
}
|
|
|
|
sub test_flags {
|
|
return {always_rollback => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|