mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
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>
This commit is contained in:
parent
a4867ebe76
commit
34845926de
@ -10,6 +10,8 @@
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"boxes_allow_inhibit"
|
||||
"boxes_allow_inhibit",
|
||||
"connections_allow_inhibit",
|
||||
"vinagre_allow_inhibit"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,7 @@
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"boxes_fullscreen"
|
||||
"boxes_fullscreen",
|
||||
"connections_fullscreen"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,7 @@
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"boxes_new_connection"
|
||||
"boxes_new_connection",
|
||||
"connections_new_connection"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -4,17 +4,17 @@ use testapi;
|
||||
use utils;
|
||||
|
||||
sub run {
|
||||
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');
|
||||
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 {
|
||||
|
@ -11,6 +11,9 @@ sub run {
|
||||
setup_tap_static('172.16.2.115', 'vnc002.test.openqa.fedoraproject.org');
|
||||
# test test: check if we can see the server
|
||||
assert_script_run "ping -c 2 172.16.2.114";
|
||||
# FIXME https://pagure.io/fedora-workstation/issue/231 - Boxes
|
||||
# dropped VNC functionality, no default replacement yet
|
||||
assert_script_run "dnf -y install vinagre";
|
||||
desktop_vt;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user