diff --git a/packages/terra-functional-testing/src/config/utils/getConfigurationOptions.js b/packages/terra-functional-testing/src/config/utils/getConfigurationOptions.js index 0a6b2f53c..0f154aced 100644 --- a/packages/terra-functional-testing/src/config/utils/getConfigurationOptions.js +++ b/packages/terra-functional-testing/src/config/utils/getConfigurationOptions.js @@ -37,8 +37,9 @@ const getConfigurationOptions = (options) => { useSeleniumStandaloneService, } = options; + const url = `http://${externalHost || getIpAddress()}:${externalPort || 8080}`; return { - baseUrl: `http://${externalHost || getIpAddress()}:${externalPort || 8080}`, + baseUrl: url, capabilities: getCapabilities(browsers, !!gridUrl), hostname: seleniumServiceUrl || gridUrl || (useSeleniumStandaloneService ? 'standalone-chrome' : 'localhost'), port: seleniumServicePort || (gridUrl ? 80 : 4444), @@ -60,6 +61,7 @@ const getConfigurationOptions = (options) => { port: assetServerPort, site, updateScreenshots, + url, useHttps, useRemoteReferenceScreenshots, ...(theme ? { theme } : { theme: getDefaultThemeName() }), diff --git a/packages/terra-functional-testing/src/services/wdio-asset-server-service.js b/packages/terra-functional-testing/src/services/wdio-asset-server-service.js index eee52c6f6..69e242e4a 100644 --- a/packages/terra-functional-testing/src/services/wdio-asset-server-service.js +++ b/packages/terra-functional-testing/src/services/wdio-asset-server-service.js @@ -25,7 +25,7 @@ class AssetServerService { try { if (this.options.disableServer) { - logger.info(`Internal asset server disabled; Connecting to server on 0.0.0.0:${this.options.port}`); + logger.info(`Internal asset server disabled; Connecting to server on ${this.options.url}`); return; }