1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-13 03:45:44 +00:00
os-autoinst-distri-fedora/tests/_vnc_client_connect.pm
Adam Williamson 34845926de Use Vinagre instead of Boxes as VNC client
Boxes dropped VNC functionality. It's supposed to be replaced by
Connections, but we can't use that until it has fullscreen:
https://gitlab.gnome.org/GNOME/connections/-/issues/5
so use Vinagre for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-06 16:06:20 -07:00

27 lines
593 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
sub run {
menu_launch_type('vinagre');
assert_and_click('vinagre_new_connection');
assert_and_click('vinagre_protocol');
assert_and_click('vinagre_protocol_vnc');
send_key('tab');
type_very_safely("172.16.2.114:5901\n");
assert_and_click('vinagre_fullscreen');
assert_and_click('vinagre_allow_inhibit');
# allow for a stupid animation to happen
wait_still_screen 5;
assert_and_click('vinagre_enable_shortcuts');
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: