Skip to content
Extraits de code Groupes Projets
Valider e65df09f rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Remove port from URL in Installation UI test.

parent 7dedc036
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -121,6 +121,15 @@ describe("Installation", function () { ...@@ -121,6 +121,15 @@ describe("Installation", function () {
}); });
page.click('.btn'); page.click('.btn');
page.wait(3000); page.wait(3000);
// remove the port from URLs if any so UI tests won't fail if the port isn't 80
// TODO: code redundancy w/ UIIntegrationTest. can be fixed w/ new UI test DI environment type.
page.evaluate(function () {
$('pre').each(function () {
var html = $(this).html().replace(/localhost\:[0-9]+/g, 'localhost');
$(this).html(html);
});
});
}, done); }, done);
}); });
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter