Regression in ssh.feature with buster
The ssh.feature
contains a test using nautilus
to mount a remote
endpoint over SSH.
Quoting the relevant part of the test suite
(features/step_definitions/ssh.rb
):
Then /^I verify the SSH fingerprint for the SFTP server$/ do
try_for(30) do
Dogtail::Application.new('gnome-shell').child?('Log In Anyway')
end
# Here we'd like to click on the button using Dogtail, but something
# is buggy so let's just use the keyboard.
@screen.type(Sikuli::Key.ENTER)
end
It might be that we’re having an issue finding “Log In Anyway”, and/or the default is now to “Cancel Login”, and we’re getting a host key verification error every time (see screenshot).
(If that’s an issue with finding the right widget, using accerciser
to
find the right Dogtail
call could help.)
In the meanwhile, as the “Cancel Login” button is highlighted (see
screenshot), one needs to send a Sikuli::Key.Tab
before the
Sikuli::Key.ENTER
one. I’ll implement this as a workaround but keep
this ticket open so that we decide whether/how to fix this (properly).
Attachments
Parent Task: #16281 (closed)
Original created by @CyrilBrulebois on 16319 (Redmine)