Skip to content

Commit

Permalink
Documenting required imagick lib for screenshot comparison generate r…
Browse files Browse the repository at this point in the history
…efs #4087
  • Loading branch information
mattab committed Oct 24, 2013
1 parent 06db4ae commit fdb2cba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit fdb2cba

Please sign in to comment.