question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RangeError: Maximum call stack size exceeded error thrown on DocumentFragments

See original GitHub issue

Current 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=""

image

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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:29 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
covaHLcommented, Jul 8, 2019

@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

0reactions
cypress-bot[bot]commented, Feb 28, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found