1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 22:13:08 +00:00
os-autoinst-distri-fedora/tests/apps_startstop/kde/krfb.pm
Adam Williamson a984674e9b add an 'esc' to krfb startstop test to deal with a dialog
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-01 14:10:00 -08:00

30 lines
510 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Krfb starts.
sub run {
my $self = shift;
# Start the application
menu_launch_type 'krfb';
# Check that it is started
assert_screen 'krfb_runs', timeout => 60;
wait_still_screen(3);
# close the "remote control requested" window if shown
send_key "esc";
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: