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

Uncaught TypeError: this.removeAttribute is not a function #496

Closed
jared-niche opened this issue May 11, 2017 · 1 comment
Closed

Uncaught TypeError: this.removeAttribute is not a function #496

jared-niche opened this issue May 11, 2017 · 1 comment

Comments

@jared-niche
Copy link

jared-niche commented May 11, 2017

  • Operating System: MacOS Sierra 10.12.4 (16E195)
  • Cypress Version: 0.19.2 (0.19.2)

Are you requesting a feature or reporting a bug?

Bug

Current behavior:

cy.visit('https://release.nicheacademy.com/v2/demo') produces Uncaught TypeError: this.removeAttribute is not a function.

It's being thrown from inside a minified 3rd party js file we're using so I'm not sure exactly what's going on. The error doesn't show up in the console when the page is loaded outside of the Cypress test environment.

Expected behavior:

no error

Additional Info (images, notes, stack traces, etc)

From Loren Norman @lorennorman:
@jared-niche it seems that zone.js is instrumenting XHRs the same way we are... which is conflicting we know that when we get around to rewriting our networking layer, this won't be a problem anymore but that work isn't scheduled as yet there may be a workaround in the short-term, but we haven't isolated one yet

@jared-niche
Copy link
Author

We updated the version of zone.js we're using and the issue went away.

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Apr 24, 2019
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