Testing the Javascript

The Capybara testing does not execute the Javascript. I had a look at Selenium (which integrates with Capybara), but much too heavyweight. There are a few gems for integrating lighter JS frameworks, but mostly seem to be abandoned ... so probably easiest to have these tests parallel rather than integrated. MochaJS seems to turn up in the top 3 on most guides and has an RSpec-like syntax, even more-so when paired with Chai, both installable via apt, so look at those first ...

Edited by J.J. Green
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information