Testing DropzoneJS uploading files with capybara# Programming - 葵花宝典M*72015-11-06 08:111 楼i7 720, 4G memory, 500G hdd, GTX 260M, 15%之后大概1130, 这个算DEAL吗?N卡的HDMI可以输出audio吗?谢谢
z*g2015-11-06 08:112 楼I am using capybara 2.5.0, selenium driver, dropzonejs-rails 0.5.3tried the solution from stackoverflow: http://stackoverflow.com/questions/32880524/how-do-you-test-uploading-a-file-with-capybara-and-dropzonebut I got either $('.dropzone')[0].dropzone is undefined or $('.dropzone')[0].dropzone.listeners[0] is undefined.Anybody has experience on this?my html looks like thisDrag and drop to upload, or click to browsespan>./>name="document[type]" id="document_type" />can't be blank