-
Notifications
You must be signed in to change notification settings - Fork 41
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
Support Glimmer #129
Comments
I think we should wait until Glimmer has a somewhat stable testing story before tackling this problem |
Actually this should be more or less unrelated to how Glimmer's testing story looks in detail though. |
I think the only way to setup proper testing with Glimmer (and Ember) would be to use ember-cli-addon-tests. I experimented with that a bit (see https://github.com/simplabs/ember-test-selectors/compare/ember-cli-addon-tests) and it should work (and it should also be possible to add a fixture app that uses the Glimmer blueprint so we could test against that). However, the massive downside is that we cannot actually tests the app as it is running in the browser but would have to make HTTP request and assert on the response body. That means we can only
At the moment (and I couldn't see how that would change in the future) I don't see any other solutions than the above 2… |
☝️ if we need to make this addon so much more complicated to support glimmer then IMHO it might make more sense to create a |
I don't think this situation will improve when Glimmer's testing story improves. After all, this is not a problem with Glimmer testing but with testing 2 very different Ember CLI projects. We'd be in the same situation if we needed to test with Ember CLI 1.x and and 2.x probably. Forking |
closing due to inactivity if this ever becomes viable we can still reopen the issue... |
ember-test-selectors
might already work (more or less) well with Glimmer but I'm not sure anyone has checked yetdoes not currently work with Glimmer. There are some things we need to get done before we can officially support it:data-test-*
attributes from templatesEmber.Component
when in a Glimmer appdataAttributeBindings
doesn't exist in Glimmer anyway)The text was updated successfully, but these errors were encountered: