os-autoinst-distri-rocky/tests/_vnc_client_connect.pm
Adam Williamson 35660bb4ed Use Vinagre instead of Boxes as VNC client, prepare Connections
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. We do also prepare some needles for
Connections in anticipation of being able to use it later (since
I already did the work and don't want to waste it...)

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-06 16:28:49 -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: