The change
event shouldn't be raised on an upload input if the value wasn't changed after setFilesToUpload
#1844
Labels
AREA: client
STATE: Auto-locked
Issues that were automatically locked by the Lock bot
SYSTEM: upload
TYPE: bug
Milestone
I guess we have a different behaviour between testcafe's
setFilesToUpload
and browser users.If we try to use
setFilesToUpload
to upload same file as before, theninput[type=file]
will updates. But if we try to do it "by hand" it will not updates. It is native behavior.You can check it in my repo: https://github.com/dmitrykurmanov/surveyjs_testcafe
cli command:
testcafe chrome tests/questions/file.js -T "setFilesToUpload_issue"
This test must be fail, but it is not.
Steps to reproduce native behaviour "by hand":
../resources/big_Dashka.jpg
setFilesToUpload
this is not trueThe text was updated successfully, but these errors were encountered: