diff --git a/tests/UI/specs/Installation_spec.js b/tests/UI/specs/Installation_spec.js index 6830091da63d5bad7d61329a48a006d61e490849..6aca4b0b78c25205e53c2b1e0e51d016824f3089 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); });