Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Aubry <matt@piwik.org>2013-10-28 06:35:16 +0400
committerMatthieu Aubry <matt@piwik.org>2013-10-28 06:35:16 +0400
commitb08354a4f396109c5d4a36176da87fdb0e87da38 (patch)
treeebc9d276cace33b09d42f691fecb577fb2eb9264 /tests/README.md
parent0f9bf7d2ec219921e83d0b1abbcf08eaad91b37f (diff)
Update README.md
clarifying screenshots test setup
Diffstat (limited to 'tests/README.md')
-rw-r--r--tests/README.md15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/README.md b/tests/README.md
index fc37df738f..7e602f0b57 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -200,22 +200,21 @@ run the following commands:
$ git submodule init
$ git submodule update
-**Requirements:**
+## Generate the same screenshots as expected
In order to run UI tests, you need to have [phantomjs](http://phantomjs.org) version 1.9.0 or greater
-installed on your machine. You can download phantomjs [here](http://phantomjs.org/download.html).
-
-phantomjs is headless, so even if you're on a server without the X window system, you can still run the
+installed on your machine. You can download phantomjs [here](http://phantomjs.org/download.html). 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.
-Also you need to install Imagick compare to generate the "difference" screenshots which will show which pixels have changed.
-
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:
+To generate screenshots identical to those generated by Travis, we install some extra fonts.
+
+Imagick is used to generate the "difference" screenshots which show which pixels have changed.
+
+Removing this font may be useful if your generated screenshots' fonts do not match the expected screenshots:
$ sudo apt-get remove ttf-bitstream-vera