Commit 6a221c4d authored by intrigeri's avatar intrigeri

Test suite: adapt file saving dialog to Firefox 60 (refs: #15023)

… and incidentally, this image can be used by future tests of other GTK3 apps.
parent 9e307d9c
......@@ -194,7 +194,7 @@ end
When /^I save the file to the default Tor Browser download directory$/ do
@screen.click('BrowserDownloadDialogSaveAsButton.png')
@screen.wait('BrowserDownloadFileToDialog.png', 10)
@screen.wait('Gtk3SaveFileDialog.png', 10)
@screen.type(Sikuli::Key.ENTER)
end
......
......@@ -744,7 +744,7 @@ end
When /^I (can|cannot) save the current page as "([^"]+[.]html)" to the (.*) directory$/ do |should_work, output_file, output_dir|
should_work = should_work == 'can' ? true : false
@screen.type("s", Sikuli::KeyModifier.CTRL)
@screen.wait("TorBrowserSaveDialog.png", 10)
@screen.wait("Gtk3SaveFileDialog.png", 10)
if output_dir == "persistent Tor Browser"
output_dir = "/home/#{LIVE_USER}/Persistent/Tor Browser"
@screen.wait_and_click("GtkTorBrowserPersistentBookmark.png", 10)
......
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