There is a technique to check if something visually not broken in HTML and CSS markup - visual regression testing.
We do following steps:
- Check everything is ok.
- Create a test "reference" (creating *.png files).
- Change something.
- Run test and check what changed.
What is better practice - all these "references" should be stored localy or should be commited to repository after check if everything is OK?
Maybe the first case more simple and suitable for single development, but second can be useful if I have team and person with QA role - he can check and create references?
Do you have some experience or thoughts about how this will be on practice?