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:
m---------tests/PHPUnit/UI0
-rw-r--r--tests/README.screenshots.md15
2 files changed, 14 insertions, 1 deletions
diff --git a/tests/PHPUnit/UI b/tests/PHPUnit/UI
-Subproject 6cc46ac54fa8ff3a0ebc4e3a9e9dae1c36514e7
+Subproject bf3580ee9fd2cbd904cd581409127581de5c87f
diff --git a/tests/README.screenshots.md b/tests/README.screenshots.md
index 39648b1435..b8f54c0263 100644
--- a/tests/README.screenshots.md
+++ b/tests/README.screenshots.md
@@ -64,7 +64,20 @@ Removing this font may be useful if your generated screenshots' fonts do not mat
### Configuring screenshot testing library
-The screenshot testing library's configuration resides in the tests/lib/screenshot-testing/config.js file. If your development environment's PHP executable isn't named 'php' or your dev Piwik install isn't at http://localhost/, you may need to edit the contents of this file.
+The screenshot testing library's configuration resides in the tests/lib/screenshot-testing/config.js file.
+If your development environment's PHP executable isn't named `php`
+or your dev Piwik install isn't at `http://localhost/` you may need to edit the contents of this file.
+
+For example if Piwik is setup at `http://localhost/piwik` modify the config.js such as:
+```
+exports.piwikUrl = "http://localhost/piwik/";
+exports.phpServer = {
+ HTTP_HOST: 'localhost',
+ REQUEST_URI: '/piwik/',
+ REMOTE_ADDR: '127.0.0.1'
+};
+
+```
## Running Tests