Custom SCSS not used in Acceptance tests

Acceptance tests aren’t using the custom stylesheets that I’ve made. Am I missing something here?

I have my folder structure like this

- assets
    - stylesheets
        - custom.scss
- test
    - javascripts
        - acceptance
            - my_acceptance_test.js.es6
1 Like

Hi Connor,

I’m curious why you need your theme’s stylesheets in your tests? We’ll get this fixed, but does this block you from writing tests for your theme/component? If so, can you explain how/why?

1 Like

Of course! The plugin I’m writing creates a button when conditions are met. When the button is rendered, I have additional SCSS that hides one of the built-in buttons.

1 Like