Commit d4a69eae authored by anonym's avatar anonym

Use separate PrintToFile.png for the browsers, and Evince.

Since the browsers use a different font, this image will differ from
now on and cannot be shared with Evince.
parent 37055272
......@@ -810,7 +810,7 @@ When /^I can print the current page as "([^"]+[.]pdf)" to the (default downloads
end
@screen.type("p", Sikuli::KeyModifier.CTRL)
@screen.wait("TorBrowserPrintDialog.png", 10)
@screen.wait_and_click("PrintToFile.png", 10)
@screen.wait_and_click("BrowserPrintToFile.png", 10)
@screen.wait_and_double_click("TorBrowserPrintOutputFile.png", 10)
@screen.hide_cursor
@screen.wait("TorBrowserPrintOutputFileSelected.png", 10)
......
......@@ -5,7 +5,7 @@ end
Then /^I can print the current document to "([^"]+)"$/ do |output_file|
@screen.type("p", Sikuli::KeyModifier.CTRL)
@screen.wait("EvincePrintDialog.png", 10)
@screen.wait_and_click("PrintToFile.png", 10)
@screen.wait_and_click("EvincePrintToFile.png", 10)
@screen.wait_and_click("EvincePrintOutputFileButton.png", 10)
@screen.wait("EvincePrintFileDialog.png", 10)
# Only the file's basename is selected by double-clicking,
......
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