From 6f9579ec590b8ea226fa067622ef7e606a7040fe Mon Sep 17 00:00:00 2001 From: diosmosis Date: Thu, 20 Sep 2018 14:07:46 -0700 Subject: [PATCH] Change to UI test doc for LFS + LFS exclude --- docs/3.x/tests-ui.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/3.x/tests-ui.md b/docs/3.x/tests-ui.md index 654c086e3..e973780f0 100644 --- a/docs/3.x/tests-ui.md +++ b/docs/3.x/tests-ui.md @@ -13,11 +13,11 @@ We use them to test our PHP Controllers, Twig templates, CSS, and indirectly tes ## Requirements -Unit, integration and system tests are fairly straightforward to run. UI tests, on the other hand, need a bit more work. To run UI tests you'll need to install [phantomjs version 1.9 or higher](http://phantomjs.org/download.html) and make sure `phantomjs` is on your PATH. Then you'll have to get the tests which are located in another repository but are included in Piwik as a submodule: +Unit, integration and system tests are fairly straightforward to run. UI tests, on the other hand, need a bit more work. To run UI tests you'll need to install [phantomjs version 1.9 or higher](http://phantomjs.org/download.html) and make sure `phantomjs` is on your PATH. Then you'll have to get the tests which are stored in git LFS: ``` -$ git submodule init -$ git submodule update +$ git lfs pull --exclude= +// NOTE: the --exclude= is important, because by default Matomo tells git not to pull these files (to save on bandwidth) ``` If you're on Ubuntu, you'll also need some extra packages to make sure screenshots will render correctly: