testcafe
testcafe copied to clipboard
Can't upload a file larger than 300mb
https://testcafe-discuss.devexpress.com/t/unable-to-upload-zip-file/445
@LavrovArtem look at this please
I think we should not load and create the full blob wrapper of file.
- We can load file content immediately if user script read file via RileReader because it is asynchronous operation.
- Currently, we create a hidden input which contains all emulated files in base64 encoding, but we can add only file names.
- Figure out how next functions should work with our wrapper without content:
Any idea how long it will take to fix this issue ?
The issue is reproduced only on really big files. I've tested this screnario on my machine (Windows 8.1 and Chrome 60) and I have a limit of 190 mb. This limitation should be enough for most test scenarios.
Also, TestCafe
architecture does not allow working with big files. Now, we load an uploaded file via XMLHttpRequest to the browser and create a wrapper for it. It's required to be able to work with the file in the page script. To support big files, we need to do a large amount of work.
So, I cannot provide an estimation when we will do it.
Sorry to keep asking ...Any idea how many more months ? It is forcing me to go back to Selenium ..
Hi @harryCompu I still cannot provide a strong estimation. I'm sorry that testcafe cannot cover your test case at present.
Is there an update for this? I'm running into this problem currently at my workplace.
We haven't found a proper solution to this issue yet. Once we get any results, I assure you that we will notify you.
We decided not to introduce this enhancement. The implementation would require lots of resources, while there is not much interest among the community.