Skip to content

Commit 64ded46

Browse files
committed
make the baseUrl equal when run with prefix
1 parent ca5e7e3 commit 64ded46

File tree

1 file changed

+3
-3
lines changed
  • deps/rabbitmq_management/selenium/test

1 file changed

+3
-3
lines changed

deps/rabbitmq_management/selenium/test/utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const { By, Key, until, Builder, logging } = require('selenium-webdriver')
66
require('chromedriver')
77

88
const uaaUrl = process.env.UAA_URL || 'http://localhost:8080'
9-
const baseUrl = process.env.RABBITMQ_URL || 'http://localhost:15672'
9+
const baseUrl = process.env.RABBITMQ_URL || 'http://localhost:15672/'
1010
const hostname = process.env.RABBITMQ_HOSTNAME || 'localhost'
1111
const runLocal = String(process.env.RUN_LOCAL).toLowerCase() != 'false'
1212
const seleniumUrl = process.env.SELENIUM_URL || 'http://selenium:4444'
@@ -59,11 +59,11 @@ module.exports = {
5959
},
6060

6161
goToLogin: (driver, token) => {
62-
return driver.get(baseUrl + '/#/login?access_token=' + token)
62+
return driver.get(baseUrl + '#/login?access_token=' + token)
6363
},
6464

6565
goToExchanges: (driver) => {
66-
return driver.get(baseUrl + '/#/exchanges')
66+
return driver.get(baseUrl + '#/exchanges')
6767
},
6868

6969
goTo: (driver, address) => {

0 commit comments

Comments
 (0)