mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 13:11:26 +00:00
72edbfe991
This is to make the infra folks happy, apparently using 10.0.x.x and 10.1.x.x is causing conflicts since our actual infra network uses those ranges too. Signed-off-by: Adam Williamson <awilliam@redhat.com>
34 lines
833 B
Perl
34 lines
833 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use tapnet;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
$self->root_console(tty=>3);
|
|
setup_tap_static('172.16.2.115', 'vnc002.domain.local');
|
|
# test test: check if we can see the server
|
|
assert_script_run "ping -c 2 172.16.2.114";
|
|
desktop_vt;
|
|
menu_launch_type('boxes');
|
|
assert_screen ['apps_boxes_tutorial', 'boxes_new_connection'];
|
|
if (match_has_tag 'apps_boxes_tutorial') {
|
|
# Let us get rid of the Tutorial window.
|
|
send_key 'esc';
|
|
}
|
|
assert_and_click('boxes_new_connection');
|
|
assert_and_click('boxes_remote');
|
|
type_very_safely("vnc://172.16.2.114:5901\n");
|
|
assert_and_click('boxes_allow_inhibit');
|
|
assert_and_click('boxes_fullscreen');
|
|
}
|
|
|
|
sub test_flags {
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|