mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Use configureHttp
to set baseUrl for tests
This commit is contained in:
parent
ebb8248364
commit
0fefba549c
@ -24,8 +24,9 @@ function testSuite(browserName, version, platform) {
|
|||||||
|
|
||||||
// Start the browser, go to /login, and wait for the react app to render
|
// Start the browser, go to /login, and wait for the react app to render
|
||||||
return browser
|
return browser
|
||||||
|
.configureHttp({ baseUrl: config.APP_URL })
|
||||||
.init({ browserName, version, platform })
|
.init({ browserName, version, platform })
|
||||||
.get(config.APP_URL + '/login')
|
.get('/login')
|
||||||
.waitForElementByCss('.ascribe-default-app', asserters.isDisplayed, 10000)
|
.waitForElementByCss('.ascribe-default-app', asserters.isDisplayed, 10000)
|
||||||
.catch(function (err) {
|
.catch(function (err) {
|
||||||
console.log('Failure -- unable to load app.');
|
console.log('Failure -- unable to load app.');
|
||||||
|
Loading…
Reference in New Issue
Block a user