Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No application found to handle ...(Launchy::ApplicationNotFoundError)

I have installed capybara-screenshot gem to save the screenshot and in cucumber step definition i called screenshot_and_open_image but i got error that says:

No application found to handle 'application_path/public/tmp/screenshot_2014-06-18-11-07-39.063.png' (Launchy::ApplicationNotFoundError)

Can anybody assist me?

like image 580
VDN Avatar asked Nov 01 '22 21:11

VDN


1 Answers

Try to use Capybara::Screenshot.screenshot_and_open_image. And if you have a test javascript please specify js: true for him.

it "my test", js: true do blablabla end

like image 69
ilgam Avatar answered Nov 15 '22 06:11

ilgam