No styles in integration tests
- Dominant language
- JavaScript
- Stars
- 258
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
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 :sweat_smile:
Contributor guide
Assessment
This issue has not been assessed yet.