Commit 1c023a4b authored by anonym's avatar anonym
Browse files

Test suite: type path + Enter into the Installer's file chooser to select ISO.

The Enter press is necessary to make the file chooser actually select
the file -- before that no file is selected, so pressing Open does
nothing.
parent 5010dff6
......@@ -188,7 +188,7 @@ When /^I do a "Upgrade from ISO" on USB drive "([^"]+)"$/ do |name|
file_chooser = @installer.child('Select a File', roleName: 'file chooser')
@screen.type("l", Sikuli::KeyModifier.CTRL)
# The only visible text element will be the path entry
file_chooser.child(roleName: 'text').text = @iso_path
file_chooser.child(roleName: 'text').typeText(@iso_path + '\n')
file_chooser.button('Open').click
usb_install_helper(name)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment