I'm trying to figure out an ideal way to test my views, written in Jade. They contain some logic. For example on the home page if a cookie has been set it should show a button to link to the main console and have option to logout versus if no cookie is set it should show login.
Any advice is appreciated.
Have a look at selenium
And of course the node adapter
I think that are not hard bugs to debug(You should see that in the browser window if it happens). But if you really want to I think you have following options: