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 when click retries & el is animating / fixed position el in it's place #46

Closed
jennifer-shehane opened this issue Jun 23, 2015 · 1 comment

Comments

@jennifer-shehane
Copy link
Member

I am calling click on a el in a dropdown that is animating into view. When Cypress initially gets the coordinates for where the el should be, it doesn't find the element I wanted to click. Instead, it finds another element in the background, then goes through the Cypress logic of finding a parent element with position: fixed, then attempting to scroll (in case the fixed position element is covering the element I want to click).

It's stuck within this loop of finding a parent element with position: fixed then attempting to scroll. It eventually times out.

Example Code

    it "clicks loading dock in dropdown", ->
      cy
        .contains("Warehouse").click()
        .contains(".k-item", "Loading Dock").click()

The dropdown animated in
screen shot 2015-06-23 at 12 24 33 pm

Command Log Error
screen shot 2015-06-23 at 12 24 46 pm

@brian-mann
Copy link
Member

Fixed in 0.7.6.

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants