-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS: setFilesToUpload() gives "Uncaught RangeError: Maximum call stack size exceeded" #1731
Comments
@jesperalmstrom Thanks for the report! |
@jesperalmstrom It can be related with DevExpress/testcafe-hammerhead#1283. Could you please provide us a call stack of error from the browser console? |
Fixed in DevExpress/testcafe-hammerhead#1287 Feel free to reopen the issue if the problem still occurs on your page |
Thanks I will try the next release version. |
@AlexanderMoskovkin: Hi, first of all: testcafe is really cool stuff! helps me a lot to do my work ... I have this issue on Windows 10 with Version 0.18.2 ... any Idea? |
Hi @pittdewaard,
Glad to hear this!
Is your page/repository private or public? Could you share your page or a simple example with us so that we will reproduce the issue? |
thx for the quik response... I've just updated to 0.18.4, no change ... Yes, we use angularjs, but until now without any problem... here my test:
and the console error (Crome): Info from Testafe output:
... and: thank you! |
Thanks for the provided info. From the log we see a failed request:
Could you please provide us with the details of this request for the same file on the original page and on the page with TestCafe? To do this open your page in Chrome and open a Network tab of the developer tools. Perform file uploading manually, find the related request and save it as HAR. Then do the same actions when TestCafe runs the test. It important to upload the same file in both cases. |
hope this is the correct one, pls delete after download ... |
I got it. Could you please do the same during TestCafe running? |
above was succcesfull, this one failed, it's a huge smaller?? |
Thanks. That's what we need. We're investigating it right now |
so I can delete the zip's? |
yep |
Hi @pittdewaard |
Hi @miherlosev, thx to take care about my issue... unfortunately I can't give you a code-snippet to reproduce the error, talked with our development team, but no one came over with a clever idea ... we are using angular-file-upload (1x) and I run a test against http://nervgh.github.io/pages/angular-file-upload/examples/simple/... testcafe works fine! But there are several tests on the backend side due the upload, before coming back to you I have to check these. KR Pitt |
Hi @AlexanderMoskovkin and @miherlosev, I can confirm that it seems to be an edge case... our error is not related to a 'size error'. but I guess there must be a reason belonging to testcafe that my test fails, At the backend side we have a servlet, which does some tests with the uploaded file, but this servlet fails with a Null Pointer Exception, what means it can't get a handler to the uploaded file... Every Idea is welcome! Timing Problems? Thanks for you help! KR Pitt |
As I understand, your backend is written in Java. POST http://10.11.32.149:50526/rkYXyK-lM/http://localhost:7029/ibf/10008-1011-20171121112548/root/web2/json/Z7_2_UploadDTA 951 (unknown) I guess that Could your, please, provide:
If the information I ask you to provide contains sensitive data, you can send it to me on [email protected] email. |
Hi @miherlosev, thx again for investigating in this issue, i have to ask our teamleader for this, come back later... |
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow. |
Are you requesting a feature or reporting a bug?
BUG
What is the current behavior?
When running the testcafe on MacOS:
Uncaught RangeError: Maximum call stack size exceeded
Running on Windows is fine == no error.
Running same sequence manually works fine on Mac and Windows.
What is the expected behavior?
No error
How would you reproduce the current behavior (if this is a bug)?
Create a Angular 4 project with Angular-CLI.
Create a input for files:
A previous project that was built with vanilla JS worked with:
Provide the test code and the tested page URL (if applicable)
Test code
Specify your
The text was updated successfully, but these errors were encountered: