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:
Diffstat (limited to 'tests/UI/specs/Installation_spec.js')
-rw-r--r--tests/UI/specs/Installation_spec.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/UI/specs/Installation_spec.js b/tests/UI/specs/Installation_spec.js
index bc24ec0248..7b80b42a36 100644
--- a/tests/UI/specs/Installation_spec.js
+++ b/tests/UI/specs/Installation_spec.js
@@ -36,6 +36,15 @@ describe("Installation", function () {
it("should display an error message when trying to access a resource w/o a config.ini.php file", function (done) {
expect.screenshot("access_no_config").to.be.capture(function (page) {
page.load("?module=CoreHome&action=index&ignoreClearAllViewDataTableParameters=1");
+
+ page.evaluate(function () {
+ // ensure screenshots are reporting travis config file for comparison
+ // no jQuery existing on these error pages...
+ document.body.innerHTML = document.body.innerHTML.replace(
+ /{\/.*\/test\.config\.ini\.php}/,
+ '{/home/travis/build/piwik/piwik/tests/lib/screenshot-testing/../../../tmp/test.config.ini.php}'
+ );
+ });
}, done);
});