Sometimes front-end tests bug out
I think that delays need to be introduced here and there to make sure that the canvas has time to render everything... That's just my guess though.
Sometimes the tests work perfectly. Seems to happen more often if you switch tabs or minimize the browser while the tests are running.
It seems that sometimes when it draws the third path for some of the tests, it draws it as a invisible dot instead of the full path (path 3). Need to look into this more.
Also to note, it only happens when running the tests from localhost. I have yet to get draw.tranek.com to bug out. Also interesting is that it is much faster to draw.tranek.com. I'm guessing that nginx is probably caching some stuff, etc.
I think it might be due to pop ups being blocked too, also chrome tests are fubared