1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-25 19:45:45 +00:00
os-autoinst-distri-fedora/tests/apps_startstop/gnome/dviewer.pm
Lukáš Růžička 999b3dbd44 Replace Evince and Videos for Papers and Showtime in Rawhide.
Fedora Rawhide (to be 43) has new applications that replace
the older ones, namely Papers replacing Evince and Showtime
replacing the Totem.

We are adding a condition to run correct applications on Rawhide
while retaining the older applications for a while until the change
has been made in whole.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/375
2025-04-24 15:59:59 -07:00

29 lines
626 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Document Viewer starts.
# Before Workstation Rawhide (43), that application was represented
# by Evince, now it is being replaced with Papers.
sub run {
my $self = shift;
# Start the application
start_with_launcher('apps_menu_papers', 'apps_menu_utilities');
# Check that is has started
assert_screen('apps_run_papers');
# Register the application into the list
register_application('papers');
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {};
}
1;
# vim: set sw=4 et: