由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Testing DropzoneJS uploading files with capybara
相关主题
【求助】如何使IE下載直接到目的地,不透過暫存 (转载)call matlab within R (用system())
vc2008下编译的问题CSS and Documents
ft, 你们谁知道这个?如何养成好的documentation习惯
A question on how to map a folder to a drive automatically after rebooting the pc请问哪里有sikuli的sample code
c++,这种做法不行?也问个python 问题
C -> assembly4clojure 不错。
简单网页问题 (转载)pdfjs displaying pdf issue
xml schema beginner questionzhaoce语录: dom是什么?
相关话题的讨论汇总
话题: div话题: class话题: document话题: type话题: hidden
进入Programming版参与讨论
1 (共1页)
z******g
发帖数: 17
1
I am using capybara 2.5.0, selenium driver, dropzonejs-rails 0.5.3
tried the solution from stackoverflow: http://stackoverflow.com/questions/32880524/how-do-you-test-uploading-a-file-with-capybara-and-dropzone
but 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 this




Drag and drop to upload, or click to browse span>.



Loader









/>


name="document[type]" id="document_type" />




can't be blank







1 (共1页)
进入Programming版参与讨论
相关主题
zhaoce语录: dom是什么?c++,这种做法不行?
replace document body,but js does not runC -> assembly
推书简单网页问题 (转载)
谁能讲讲play framework前景?xml schema beginner question
【求助】如何使IE下載直接到目的地,不透過暫存 (转载)call matlab within R (用system())
vc2008下编译的问题CSS and Documents
ft, 你们谁知道这个?如何养成好的documentation习惯
A question on how to map a folder to a drive automatically after rebooting the pc请问哪里有sikuli的sample code
相关话题的讨论汇总
话题: div话题: class话题: document话题: type话题: hidden