Tuesday 2nd June, 2015
2:25pm to 3:10pm
Working with large CSS codebases can be hard. Large-scale refactors, or even just tweaking styles on our more general elements, could end up having unintended consequences on the rest of the site. To catch these problems, we manually check every page on our site, which is a slow and error-prone approach. We need a better way to test our CSS. This talk will walk through how we implemented a visual CSS testing framework using RSpec & Selenium, using automatic screenshot comparison to catch style regressions. This talk will go over figuring out exactly what we needed to create a framework that would catch style regressions, and then creating it.
Sign in to add slides, notes or videos to this session