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

Unit Tests throw error: "Uncaught Error: Assertion Failed: BUG: Render node exists without concomitant env" #178

Closed
cgrayADC opened this issue Jul 14, 2015 · 6 comments

Comments

@cgrayADC
Copy link

I recently upgraded from ember 1.13.1 to ember 1.13.4 and am now getting this error on my unit tests: "Uncaught Error: Assertion Failed: BUG: Render node exists without concomitant env".

The only place I have seen any error messaging like this is here: https://github.com/emberjs/ember.js/blob/master/packages/ember-views/tests/views/view/class_name_bindings_test.js where in the final test the view's renderNode is set to null to prevent this issue.

The error is thrown for me on a component test. I have tried setting the render node to null on the component, along with messing around with the app on set up and tear down. Moving back to Ember 1.13.3 fixes the issue but I would like to be up to date if possible. Anyone know what is going on here?

@thec0keman
Copy link

I've been having a similar issue, but haven't had any luck in resolving it yet.

@onechiporenko
Copy link

+1

@sir-dunxalot
Copy link

Here's a stack trace I have for this exact error:

not ok 74 PhantomJS 1.9 - Unit | Component | input group: Type property and partial
    ---
        actual: >
            null
        message: >
            Died on test #30     at http://localhost:7357/assets/test-support.js:2859
                at test (http://localhost:7357/assets/test-support.js:1803)
                at http://localhost:7357/assets/dummy.js:2797
                at http://localhost:7357/assets/vendor.js:150
                at tryFinally (http://localhost:7357/assets/vendor.js:30)
                at http://localhost:7357/assets/vendor.js:156
                at http://localhost:7357/assets/test-loader.js:29
                at http://localhost:7357/assets/test-loader.js:21
                at http://localhost:7357/assets/test-loader.js:40
                at http://localhost:7357/assets/test-support.js:6572: Assertion Failed: BUG: Render node exists without concomitant env.

@thec0keman
Copy link

Using Ember 1.13.5 and Ember-QUnit 0.4.2 this is now working for me

@Miz85
Copy link

Miz85 commented Sep 3, 2015

Had the exact same error and using Ember 1.13.5 and ember-qunit 0.4.2 also solves it for me

@cgrayADC
Copy link
Author

cgrayADC commented Sep 3, 2015

Closing issue because it has been fixed in qunit 0.4.2

@cgrayADC cgrayADC closed this as completed Sep 3, 2015
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

5 participants