From 0fefba549c9cea0618339a66834c70a893b30322 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Mon, 25 Jan 2016 17:55:45 +0100 Subject: [PATCH] Use `configureHttp` to set baseUrl for tests --- test/test-login.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test-login.js b/test/test-login.js index e66fa3a5..e2736fe1 100644 --- a/test/test-login.js +++ b/test/test-login.js @@ -24,8 +24,9 @@ function testSuite(browserName, version, platform) { // Start the browser, go to /login, and wait for the react app to render return browser + .configureHttp({ baseUrl: config.APP_URL }) .init({ browserName, version, platform }) - .get(config.APP_URL + '/login') + .get('/login') .waitForElementByCss('.ascribe-default-app', asserters.isDisplayed, 10000) .catch(function (err) { console.log('Failure -- unable to load app.');