Have you ever dealt with regression testing of a UI-centric project? If yes, you know what a terrible pain in the… ahem, neck it can be. The more so when it comes to CSS testing for a single-page application, or an interaction-heavy website built with React or Angular.
So how exactly do you regression-test a complex UI project? Focus on happy paths and hope for the best? Maybe run a screenshot comparison module like PhantomCSS? In some cases you need a dedicated solution, not just an add-on to a general-purpose tool. In this post, we’re going to talk about one such case.