You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a website that seems to use dropdown.js, I cannot find the element that supports attachFile(). The website is not under my control, so it is not easy to find out how they implemented their dropzone, but I can see that they import dropzone.js in html head using the URL https://dev.service-bw.de/serviceportal-theme/js/dropzone.js?t=1640100138000.
I have put a breakpoint into the dragenter() function in line 730, which gets triggered when I drag a file onto the dropzone, therefore I believe that dropzone.js is in fact used here.
However, apparently they have heavily customized the drop zone, and they seem to activate it programmatically (no dropzone css class in the page).
All attempts to cy.get() the dropzone and call attachFile() on it lead to the error ".attachFile is not a function".
The test attempts to determine an object with attachFile() function inside the dropzone on the page, see logs for failed attempts. The test itself does not fail because I wanted to show all the candidates I've tried.
App code: see visited application in test code
Versions
cypress-file-upload 5.0.8
Cypress 9.1.1
Windows
Chrome
The text was updated successfully, but these errors were encountered:
Current behavior:
On a website that seems to use dropdown.js, I cannot find the element that supports
attachFile()
. The website is not under my control, so it is not easy to find out how they implemented their dropzone, but I can see that they import dropzone.js in html head using the URL https://dev.service-bw.de/serviceportal-theme/js/dropzone.js?t=1640100138000.I have put a breakpoint into the
dragenter()
function in line 730, which gets triggered when I drag a file onto the dropzone, therefore I believe that dropzone.js is in fact used here.However, apparently they have heavily customized the drop zone, and they seem to activate it programmatically (no dropzone css class in the page).
All attempts to
cy.get()
the dropzone and callattachFile()
on it lead to the error ".attachFile is not a function".Desired behavior:
The dropzone should be supported
Steps to reproduce: (app code and test code)
Test code:
https://github.com/dschulten/cypress-test-tiny/tree/feature/dropzonejs
The test attempts to determine an object with
attachFile()
function inside the dropzone on the page, see logs for failed attempts. The test itself does not fail because I wanted to show all the candidates I've tried.App code: see visited application in test code
Versions
cypress-file-upload 5.0.8
Cypress 9.1.1
Windows
Chrome
The text was updated successfully, but these errors were encountered: