Newer
Older
diosmosis
a validé
/*!
* Piwik - free/libre analytics platform
diosmosis
a validé
*
* 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.
*/
/**
* 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',
REMOTE_ADDR: '127.0.0.1'
};
/**
* The path to the PHP executable to execute when setting up & tearing down the database.
*/
exports.php = 'php';
diosmosis
a validé
/**
* The folder in tests/lib that holds mocha.
*/
diosmosis
a validé
/**
* 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"];
diosmosis
a validé
/**
* 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";