-
Notifications
You must be signed in to change notification settings - Fork 34
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
fix rootElement when running in /tests #139
Conversation
f399ffd
to
1c9d558
Compare
I feel that |
@bertdeblock yea sure if you'd prefer that I'm happy to switch it over 👍 |
It's up to the maintainers to make that decision of course, but I just wanted to weigh in on this. |
1c9d558
to
b8bf8b8
Compare
@bertdeblock well I think it's also a preference thing. My previous attempt at this PR was conceptually closer to what was there before because it was making use for Also I'm a bit biased in favour of ember-get-config these days because I'm the maintainer of it 😉 I am happy to set it up in the constructor if that gets this PR merged quicker 👍 |
b8bf8b8
to
f3dd00d
Compare
So I'm not exactly sure what is going wrong here 🤔 The only thing that I can think of is that there is some floating dependency in the ember-try runs that is causing the behaviour to change I did some investigation and it looks like when you click on the document body or the Any ideas? |
So I tracked down the culprit! #140 is failing even though there have been no breaking changes at all. It seems like someone has changed the API of |
Any chance we could get this merged even though the test suite is blocked by an upstream error? I know it reduces our confidence in the suite but we know that this change doesn't cause the particular error at least 😞 |
@mansona would you like commit / publishing access to |
We had disabled being able to use
http://localhost:4200/tests
in our app because a bunch of things were breaking and I tracked it down to the rootElement in<Dialog />
not actually being correct.After a bit more investigation it turns out that the way that
setOwnConfig
was being used in config might have been the culprit: embroider-build/embroider#1178I've swapped that out for
ember-get-config
because I know it's working in this case and I have tested the dummy app + tests in this repo and our upstream app and it's now working 👍