Ember.js: [Glimmer 2] Component Integration Tests

Created on 30 Jul 2016  ·  4Comments  ·  Source: emberjs/ember.js

In a freshly-minted app using the Ember alpha released today, integration tests fail.

Here's a repo reproducing the issue, which just followed these steps:

ember new test-app
cd test-app
bower install -S ember#alpha
ember g component-test fails
ember test
Bug Glimmer2

Most helpful comment

As of [email protected] ember g component it-works passes without change. I submitted https://github.com/dfreeman/glimmer-integration-failure/pull/2 to demonstrate.

I'm going to consider this finished (though please chime in if there are issues and I'll reopen).

All 4 comments

I fixed the direct issue reported here in #13970 and https://github.com/switchfly/ember-test-helpers/pull/167, but the reproduction steps are still an issue due to the way top level outlets are being used by ember-test-helpers.

More work being done in:

With the changes from [email protected] a basic this.render should be working (submitted https://github.com/dfreeman/glimmer-integration-failure/pull/1 to the test repo).

A generic ember g component x-foo will still fail due to the lack of support for this.clearRender() in ember-test-helpers at the moment (still working on that).

As of [email protected] ember g component it-works passes without change. I submitted https://github.com/dfreeman/glimmer-integration-failure/pull/2 to demonstrate.

I'm going to consider this finished (though please chime in if there are issues and I'll reopen).

Was this page helpful?
0 / 5 - 0 ratings