diff --git a/features/images/EvincePrintFileDialog.png b/features/images/Gtk3PrintFileDialog.png similarity index 100% rename from features/images/EvincePrintFileDialog.png rename to features/images/Gtk3PrintFileDialog.png diff --git a/features/step_definitions/evince.rb b/features/step_definitions/evince.rb index 9411ac4d67fa6a562d6c285a9c963430738bfb21..e0424d85119dd28b415a5122ac06e78e5a90ba27 100644 --- a/features/step_definitions/evince.rb +++ b/features/step_definitions/evince.rb @@ -7,7 +7,7 @@ Then /^I can print the current document to "([^"]+)"$/ do |output_file| @screen.wait("EvincePrintDialog.png", 10) @screen.wait_and_click("EvincePrintToFile.png", 10) @screen.wait_and_click("EvincePrintOutputFileButton.png", 10) - @screen.wait("EvincePrintFileDialog.png", 10) + @screen.wait("Gtk3PrintFileDialog.png", 10) # Only the file's basename is selected by double-clicking, # so we type only the desired file's basename to replace it $vm.set_clipboard(output_file.sub(/[.]pdf$/, ''))