When it comes to testing web apps, there are usually two main types of tests that we write – unit tests, which cover very specific parts of our JavaScript / server-side logic, and scenario UI tests, which cover everything and involve simulating real end…