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 6830091da6..6aca4b0b78 100644
--- a/tests/UI/specs/Installation_spec.js
+++ b/tests/UI/specs/Installation_spec.js
@@ -121,6 +121,15 @@ describe("Installation", function () {
});
page.click('.btn');
page.wait(3000);
+
+ // manually remove port in tracking code, since ui-test.php won't be using the correct INI config file
+ page.evaluate(function () {
+ $('pre').each(function () {
+ var html = $(this).html();
+ html = html.replace(/localhost\:[0-9]+/g, 'localhost');
+ $(this).html(html);
+ });
+ });
}, done);
});