From fdb2cbaa5420d292b9ce6fff37ae1607770c9794 Mon Sep 17 00:00:00 2001 From: mattab Date: Thu, 24 Oct 2013 15:50:59 +1300 Subject: Documenting required imagick lib for screenshot comparison generate refs #4087 --- tests/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/README.md') diff --git a/tests/README.md b/tests/README.md index cc68fd804f..fc37df738f 100644 --- a/tests/README.md +++ b/tests/README.md @@ -208,9 +208,12 @@ installed on your machine. You can download phantomjs [here](http://phantomjs.or phantomjs is headless, so even if you're on a server without the X window system, you can still run the UI tests. -To generate screenshots identical to those generated by Travis, installing fonts may be useful. On Ubuntu: +To generate screenshots identical to those generated by Travis, installing fonts may be useful. +Also you need to install Imagick compare to generate the "difference" screenshots which will show which pixels have changed. - $ sudo apt-get install ttf-mscorefonts-installer +On Ubuntu: + + $ sudo apt-get install ttf-mscorefonts-installer imagemagick imagemagick-doc In one case, removing this font was necessary to get tests to pass: -- cgit v1.2.3