Closed
Description
After the v0.5.31 release, I started getting an error when running tests. The first (alphabetically) integration component test will always fail to render. Event if it's a very simple test that just renders a div it will fail, so it's consistent (in my app).
When using ember exam with multiple partitions I get the same error for different partitions.
But always just the first integration component test (or first ones when using partitions).
Tracked it down to this line:
v0.5.30...v0.5.31#diff-6131c3a14dd0889855bcf084535928fbR250
This is what renders to the dom instead of the component's content
{ type: 'log', text: '\'<!---->\'\n' }
It works fine again when I replace this line:
context._element = element = document.querySelector('#ember-testing > .ember-view');
with:
context._element = element = Ember.$('#ember-testing > .ember-view');
PhantomJS: 2.1.1
Ember: 2.4.5
ember-cli: 2.7.0
ember-cli-qunit: 2.1.0
Metadata
Metadata
Assignees
Labels
No labels