blob: 3739098287c5416a15a53578a368d485f5a1db00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/*!
* Piwik - free/libre analytics platform
*
* UI tests config
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
/**
* The root Piwik URL to test against.
*/
exports.piwikUrl = "http://localhost/";
/**
* Data for the $_SERVER variable in the setup/teardown PHP scripts. Should be the same as
* the values in your phpunit.xml file.
*/
exports.phpServer = {
HTTP_HOST: 'localhost',
REQUEST_URI: '/',
REMOTE_ADDR: '127.0.0.1'
};
/**
* The path to the PHP executable to execute when setting up & tearing down the database.
*/
exports.php = 'php';
/**
* The folder in tests/lib that holds mocha.
*/
exports.mocha = 'mocha-3.1.2';
/**
* The folder in tests/lib that holds chai.
*/
exports.chai = 'chai-1.9.0';
/**
* The mocha reporter to use.
*/
exports.reporter = "spec";
/**
* The directory that stores expected screenshots. Relative to the UI repo's root directoriy.
*/
exports.expectedScreenshotsDir = ["./expected-screenshots", "./expected-ui-screenshots"];
/**
* The directory that stores processed screenshots. Relative to the UI repo's root directory.
*/
exports.processedScreenshotsDir = "./processed-ui-screenshots";
/**
* The directory that stores screenshot diffs. Relative to the UI repo's root directory.
*/
exports.screenshotDiffDir = "./screenshot-diffs";
|