Acceptance test for a plugin feature which is been rendered in the custom theme component

Hi All,

Currently, I have been planning to write the Acceptance test cases(First time) for the custom functionality introduced via the plugin in my discourse but these custom functionality rendered over the frontend using the custom theme component. But I can see while running test that theme component is not loaded and test cases are run on the base discourse installation.

Any help on how I can test such kind of scenarios.