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:
-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