Skip to content
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

Maximum call stack size exceeded #4935

Closed
ZwapKillrath opened this issue Aug 6, 2019 · 6 comments
Closed

Maximum call stack size exceeded #4935

ZwapKillrath opened this issue Aug 6, 2019 · 6 comments

Comments

@ZwapKillrath
Copy link

Having issues after I updated from Cypress 3.3.1 to 3.4.1. I am getting "Uncaught RangeError: Maximum call stack size exceeded." all over the place in the console now. Did not get that before. I use Electron 61 and Chrome 76. Both shows the same. However the tests do not fail. Memory on the test runner machine increases constantly when running tests and does not drop. Maybe also a memory leak in Cypress 3.4.1?

Maybe related to #4373

62542437-0f9d9b80-b85c-11e9-822d-a65021ebcb52

Package.json:
{
"name": "******",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"test:e2e": "vue-cli-service test:e2e --mode development"
},
"dependencies": {
"@types/lodash.debounce": "^4.0.6",
"ajv": "^6.10.2",
"axios": "^0.19.0",
"eslint": "^6.1.0",
"lodash.debounce": "^4.0.8",
"material-design-icons-iconfont": "^5.0.1",
"register-service-worker": "^1.6.2",
"roboto-fontface": "",
"vue": "^2.6.10",
"vue-class-component": "^7.1.0",
"vue-property-decorator": "^8.2.1",
"vue-router": "^3.0.7",
"vuetify": "^1.5.14",
"vuex": "^3.1.1",
"vuex-typex": "^3.1.5"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.10.0",
"@vue/cli-plugin-e2e-cypress": "^3.10.0",
"@vue/cli-plugin-pwa": "^3.10.0",
"@vue/cli-plugin-typescript": "^3.10.0",
"@vue/cli-service": "^3.10.0",
"prettier": "^1.18.2",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"typescript": "^3.5.3",
"vue-cli-plugin-vuetify": "^0.6.1",
"vue-template-compiler": "^2.6.10",
"vuetify-loader": "^1.3.0"
}
}

@bahmutov
Copy link
Contributor

bahmutov commented Aug 6, 2019

@ZwapKillrath can you create a repo with a reproduction? Like remove all your custom code until there is literally just some UI element, Cypress spec and maximum error? That would make chasing this so much easier

@ZwapKillrath
Copy link
Author

Hi Gleb, Yes I know, but unfortunately the project is confidential and is complex. We run a lot of tests, so its not just posting the bare minimum code. We have a lot of depending components etc. I will see what I can do.

@swatisharma0303
Copy link

Hiya,

I can't seem to be able to click on the button. No matter what locator I try.
I either get the error this error:
image
or this:
image
image
it("should have the option to start a different downtime start", () => {
cy.get([data-tag="row-2-cell-1"] path:last-child).click();

@raderj89
Copy link

I am experiencing this as well - I render my app in an iframe, which I know is its own issue, but I was able to use one of the workarounds suggested to query elements within an iframe. But when I click on anything in the iframe, I just get a stack overflow:

Screen Shot 2019-09-29 at 9 38 05 PM

@vperezbo
Copy link

vperezbo commented Oct 1, 2019

Hi!
I'm 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

The element is
image

image

In the same page I can interact with both selector but the lightning elements no

image

@jennifer-shehane
Copy link
Member

Closing this as a duplicate of #4373 We need a completely reproducible example to run on our end to begin debugging this unfortunately. Please provide one in the original issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants