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

Ember 2.10 Compatibility #6

Merged
merged 2 commits into from
May 1, 2018
Merged

Ember 2.10 Compatibility #6

merged 2 commits into from
May 1, 2018

Conversation

bstro
Copy link
Contributor

@bstro bstro commented Apr 26, 2018

Pre 2.10, ember-get-component relied on the existence of the childViews property on a given component. The addon then traversed that parent component child views to find the component instance we're probably interested in testing.

In 2.10, childViews is not reliable at all and was advised by rwjblue that it should not be used. We ended up using the view registry which is also private and will likely not exist in the future, but this is at least not a regression and keeps our tests running.

Context:
emberjs/ember.js#11244

@bstro bstro requested a review from thomaswrenn April 26, 2018 18:26
@bstro bstro merged commit c15f638 into master May 1, 2018
@bstro
Copy link
Contributor Author

bstro commented May 1, 2018

merged per f2f review/ tom

@thomaswrenn thomaswrenn deleted the fix/ember-210-support branch May 2, 2018 21:31
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

Successfully merging this pull request may close these issues.

1 participant