From cad68b4c8805d9f51f534c19b17bf7ee72f287fc Mon Sep 17 00:00:00 2001 From: Juanfran Date: Wed, 28 Oct 2015 13:11:16 +0100 Subject: [PATCH] remove localhost in e2e tests --- e2e/full/user-profile/user-profile-contacts.e2e.js | 4 ++-- e2e/full/user-profile/user-profile-likes.e2e.js | 4 ++-- e2e/full/user-profile/user-profile-projects.e2e.js | 2 +- e2e/full/user-profile/user-profile-votes.e2e.js | 4 ++-- e2e/full/user-profile/user-profile-watched.e2e.js | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/e2e/full/user-profile/user-profile-contacts.e2e.js b/e2e/full/user-profile/user-profile-contacts.e2e.js index 9dd3e58b..1d161e17 100644 --- a/e2e/full/user-profile/user-profile-contacts.e2e.js +++ b/e2e/full/user-profile/user-profile-contacts.e2e.js @@ -9,7 +9,7 @@ var expect = chai.expect; describe('user profile - contacts', function() { describe('current user', function() { before(async function(){ - browser.get('http://localhost:9001/profile'); + browser.get(browser.params.glob.host + '/profile'); await utils.common.waitLoader(); @@ -29,7 +29,7 @@ describe('user profile - contacts', function() { describe('other user', function() { before(async function(){ - browser.get('http://localhost:9001/profile/user7'); + browser.get(browser.params.glob.host + '/profile/user7'); await utils.common.waitLoader(); diff --git a/e2e/full/user-profile/user-profile-likes.e2e.js b/e2e/full/user-profile/user-profile-likes.e2e.js index 2ba31512..1fec32e0 100644 --- a/e2e/full/user-profile/user-profile-likes.e2e.js +++ b/e2e/full/user-profile/user-profile-likes.e2e.js @@ -9,7 +9,7 @@ var expect = chai.expect; describe('user profile - likes', function() { describe('current user', function() { before(async function(){ - browser.get('http://localhost:9001/profile'); + browser.get(browser.params.glob.host + '/profile'); await utils.common.waitLoader(); @@ -49,7 +49,7 @@ describe('user profile - likes', function() { describe('other user', function() { before(async function(){ - browser.get('http://localhost:9001/profile/user7'); + browser.get(browser.params.glob.host + '/profile/user7'); await utils.common.waitLoader(); diff --git a/e2e/full/user-profile/user-profile-projects.e2e.js b/e2e/full/user-profile/user-profile-projects.e2e.js index 949cd969..042a542a 100644 --- a/e2e/full/user-profile/user-profile-projects.e2e.js +++ b/e2e/full/user-profile/user-profile-projects.e2e.js @@ -9,7 +9,7 @@ var expect = chai.expect; describe('user profilei - projects', function() { describe('other user', function() { before(async function(){ - browser.get('http://localhost:9001/profile/user7'); + browser.get(browser.params.glob.host + '/profile/user7'); await utils.common.waitLoader(); diff --git a/e2e/full/user-profile/user-profile-votes.e2e.js b/e2e/full/user-profile/user-profile-votes.e2e.js index 98fb0690..f09c0f44 100644 --- a/e2e/full/user-profile/user-profile-votes.e2e.js +++ b/e2e/full/user-profile/user-profile-votes.e2e.js @@ -9,7 +9,7 @@ var expect = chai.expect; describe('user profile - votes', function() { describe('current user', function() { before(async function(){ - browser.get('http://localhost:9001/profile'); + browser.get(browser.params.glob.host + '/profile'); await utils.common.waitLoader(); @@ -99,7 +99,7 @@ describe('user profile - votes', function() { describe('other user', function() { before(async function(){ - browser.get('http://localhost:9001/profile/user7'); + browser.get(browser.params.glob.host + '/profile/user7'); await utils.common.waitLoader(); diff --git a/e2e/full/user-profile/user-profile-watched.e2e.js b/e2e/full/user-profile/user-profile-watched.e2e.js index 3234544a..7c3ba365 100644 --- a/e2e/full/user-profile/user-profile-watched.e2e.js +++ b/e2e/full/user-profile/user-profile-watched.e2e.js @@ -9,7 +9,7 @@ var expect = chai.expect; describe('user profile - watched', function() { describe('current user', function() { before(async function(){ - browser.get('http://localhost:9001/profile'); + browser.get(browser.params.glob.host + '/profile'); await utils.common.waitLoader(); @@ -111,7 +111,7 @@ describe('user profile - watched', function() { describe('other user', function() { before(async function(){ - browser.get('http://localhost:9001/profile/user7'); + browser.get(browser.params.glob.host + '/profile/user7'); await utils.common.waitLoader();