Tweak _vnc_client_connect to click things better

vinagre likes to make things move around and pop up in awkward
ways...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-05-07 09:47:35 -07:00
parent 35660bb4ed
commit f5377ad1d2

View File

@ -10,11 +10,13 @@ sub run {
assert_and_click('vinagre_protocol_vnc'); assert_and_click('vinagre_protocol_vnc');
send_key('tab'); send_key('tab');
type_very_safely("172.16.2.114:5901\n"); type_very_safely("172.16.2.114:5901\n");
assert_and_click('vinagre_fullscreen'); # this panel likes to move around so make sure we really hit it
while (check_screen 'vinagre_enable_shortcuts') {
assert_and_click('vinagre_enable_shortcuts');
sleep 2;
}
assert_and_click('vinagre_allow_inhibit'); assert_and_click('vinagre_allow_inhibit');
# allow for a stupid animation to happen assert_and_click('vinagre_fullscreen');
wait_still_screen 5;
assert_and_click('vinagre_enable_shortcuts');
} }
sub test_flags { sub test_flags {