Regression in ssh.feature with buster
ssh.feature contains a test using
nautilus to mount a remote
endpoint over SSH.
Quoting the relevant part of the test suite
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
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).
Parent Task: #16281 (closed)