Custom CSS and JS not loaded when running specs with Capybara and Selenium
<p>I have a test for code which relies on custom javascript. When running app in development environment, everything works like excepted. In test, no custom CSS and JS is included, hence test fails:</p>

<p><a href="https://i.stack.imgur.com/n1fq5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n1fq5.png" alt="enter image description here"></a></p>

<p>How can I troubleshoot this issue? </p>