You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that in our app (running latest ember-cli & embroider), in integration tests no styles are loaded. You can see in the preview window that everything is just using the default browser CSS. In application tests, CSS is loaded & applied correctly.
So basically, I have a setupRenderingTest() test rendering a single component, that is rendered with no styles.
I am not 100% sure, but I think this used to be different? I looked but couldn't really find anything if that has changed, or if there is a way to change this. Maybe it was just my imagination that is used to be different, but either way, it would be nice to at least have the possibility to render a component with styles, I guess?
Basically, I am currently trying to write a test for some more complicated UI components that resize in certain ways, and it is kind of impossible to do that properly without the CSS being applied to them 😅
The text was updated successfully, but these errors were encountered:
I noticed that in our app (running latest ember-cli & embroider), in integration tests no styles are loaded. You can see in the preview window that everything is just using the default browser CSS. In application tests, CSS is loaded & applied correctly.
So basically, I have a
setupRenderingTest()
test rendering a single component, that is rendered with no styles.I am not 100% sure, but I think this used to be different? I looked but couldn't really find anything if that has changed, or if there is a way to change this. Maybe it was just my imagination that is used to be different, but either way, it would be nice to at least have the possibility to render a component with styles, I guess?
Basically, I am currently trying to write a test for some more complicated UI components that resize in certain ways, and it is kind of impossible to do that properly without the CSS being applied to them 😅
The text was updated successfully, but these errors were encountered: