remove localhost in e2e tests

stable
Juanfran 2015-10-28 13:11:16 +01:00
parent 6911dd91f8
commit cad68b4c88
5 changed files with 9 additions and 9 deletions

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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();