How to add CSS rules only in the test env in your Phoenix app (opens in new tab)
From Angelika.me: Certain CSS styles might cause problems in your browser-based tests, so you might want to add some CSS rules that turn off those styles, but only in the test environment.
Read the original article