RangeError: Maximum call stack size exceeded error thrown on DocumentFragments
See original GitHub issueCurrent behavior:
Currently i am start using cypress in a Salesforce based web, but when i try to use the Lightning elements that salesforce provides i receive the error for maximum call stack Just for the record for every element it works fine only in elements like this one:
The element is the following: label lightning-input_input=""
Desired behavior:
I want that elements such as lightning-input
can be clickable or you can write on them
Steps to reproduce: (app code and test code)
.
Versions
3.3.1
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:29 (13 by maintainers)
Top Results From Across the Web
JavaScript RangeError: Maximum Call Stack Size Exceeded
The RangeError: Maximum call stack size exceeded is thrown when a function call is made that exceeds the call stack size. This can...
Read more >javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >JavaScript Error: Maximum Call Stack Size Exceeded
A RangeError typically means an error has occurred outside of a code's argument value for its parameter. Now that you know a little...
Read more >How to fix: "RangeError: Maximum call stack size exceeded"
A "RangeError: Maximum call stack size exceeded" is an error that occurs when a function or operation tries to execute too many nested...
Read more >RangeError: Maximum call stack size exceeded - Educative.io
The most common source for this error is infinite recursion. You must have a recursive function in your code whose base case is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jennifer-shehane @viral222 I am using 3.3.2 as well and did a debug session looks like it stucks in the method elIsHiddenByAncestors due to a wrap that it does to the element, that method can be found in cypress_runner.js line code 87101
due is a recursive function it throws the maximum call stack size exceeded, working on a workaround meanwhile cypress team can troubleshoot or reproduce the issue
Released in
4.1.0
.This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v4.1.0, please open a new issue.