Replies: 1 comment
-
When using drag-n-drop, check how the events are implemented in the website. Note: Would need to check if I have time, but for drag and drop I thought it's looking for an 'input[types=""file'] in underlying elements. So I passed the element above as selector. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use
Drag-n-drop component
to test uploading a file by imitating drag and drop.
I wrote a simple test:
Where
pdfFilePath
is the path to the pdf file and is declared like this:And when running test it looks like it is executing the code:
But in the application I don't see any file attached on the UI
Do you know what may be the reason and how to approach this?
Btw to be able to do HTML5 file input without encoding problems with upload of pdf file I had to add encoding:
Beta Was this translation helpful? Give feedback.
All reactions