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.

Expecting element to be disabled results in maximum call stack size error

See original GitHub issue

Current behavior:

When expecting something to not be disabled(or quite possibly when expecting on jqueryfied objects, or other assertions), the error field is set to Maximum call stack size exceeded

Test repo

Desired behavior:

It should show the failed assertion with a nice human readable error.

Steps to reproduce:

git clone git@github.com:MichaelHindley/cypress-stack-test.git cd cypress-stack-test yarn && yarn dev visit localhost:3001

image

Versions

3.0.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cypress-bot[bot]commented, Jun 27, 2019

Released in 3.3.2.

0reactions
cypress-bot[bot]commented, Jun 13, 2019

The code for this is done in cypress-io/cypress#4407, but has yet to be released. We’ll update this issue and reference the changelog when it’s released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 RangeError: Maximum Call Stack Size Exceeded
The JavaScript RangeError: Maximum call stack size exceeded is an error that occurs when there are too many function calls, or if a...
Read more >
JavaScript Error: Maximum Call Stack Size Exceeded
When recursive code is missing its base code or shoots past the base code, it will repeatedly keep calling itself until you hit...
Read more >
1.5 RangeError: Maximum call stack size exceeded.
1.5 RangeError: Maximum call stack size exceeded. Don't know why my code is returning this, but here it is: function howManyCoins (coinName, coinAmount, ......
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 >

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