-
Notifications
You must be signed in to change notification settings - Fork 675
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
RangeError: Maximum call stack size exceeded #8104
Comments
Hello @volosincu, Could you please pack all necessary files into a public repository? |
CauseThe cause is upgrade of axios-hooks to version 5.0.0 or greater. Solution and repo for reproductionThe solution was to disable cache when initialize axios-hooks See lines 4 and 5 The testcafe code
Error:
|
Hello, Thank you for creating an example repo. I did not encounter any issues when running your test in Native Automation mode. Starting from version 3.0, TestCafe runs tests with the Native Automation option enabled by default. If you can reproduce the issue using native automation mode, please create a separate ticket using this template |
What is your Scenario?
NPM dependencies package.json
Webpack config
What is the Current behavior?
Scenario
The tests flows break with following errors
When rendering the 2 components from the remote microfrontend the error below appears.
It happens only in the TestCafe browser window. Not sure why but I reckon that hooks from the components loaded with dynamic import in React.lazy break cause WEBPACK_DEFAULT_EXPORT is missing ( the same code works if not in TestCafe context)
What is the Expected behavior?
To render the 2 components from the remote microfrontend.
What is the public URL of the test page? (attach your complete example)
https://localhost:80/
What is your TestCafe test code?
Your complete configuration file
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
TestCafe version
3.4.0
Node.js version
18.10
Command-line arguments
npx testcafe ./test_examples/test_smoke.js --config-file .testcafenight.js
Browser name(s) and version(s)
Chrome 120
Platform(s) and version(s)
Windows 11
Other
No response
The text was updated successfully, but these errors were encountered: