brentvatne/mission_of_mercy — comment on commit d7da89a0f18047a7e3a0020226194614f9bef730
File: app/views/layouts/application.html.haml line 13
By brentvatne:

I added the application environment to the MoM namespace because it was useful to disable the print popup for integration testing (Selenium and other browser drivers do not handle popups well, and they are even worse at OS native dialogs like the print dialog, so it's best to just avoid those). This could also be useful in the future for other javascript tests, otherwise I would not have added it. Let me know if this seems like we're trying too hard to accomodate integration testing - if so we can just ditch the tests.