Skip to content

Commit 276be82

Browse files
Clean up
1 parent c34b66b commit 276be82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

selenium/test/utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ const XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest
33
const fsp = fs.promises
44
const path = require('path')
55
const { By, Key, until, Builder, logging, Capabilities } = require('selenium-webdriver')
6+
const proxy = require('selenium-webdriver/proxy')
67
require('chromedriver')
78
const UAALoginPage = require('./pageobjects/UAALoginPage')
89
const KeycloakLoginPage = require('./pageobjects/KeycloakLoginPage')
910
const assert = require('assert')
1011

12+
const runLocal = String(process.env.RUN_LOCAL).toLowerCase() != 'false'
1113
const uaaUrl = process.env.UAA_URL || 'http://localhost:8080'
1214
const baseUrl = randomly_pick_baseurl(process.env.RABBITMQ_URL) || 'http://localhost:15672/'
1315
const hostname = process.env.RABBITMQ_HOSTNAME || 'localhost'
14-
const runLocal = String(process.env.RUN_LOCAL).toLowerCase() != 'false'
1516
const seleniumUrl = process.env.SELENIUM_URL || 'http://selenium:4444'
1617
const screenshotsDir = process.env.SCREENSHOTS_DIR || '/screens'
1718
const profiles = process.env.PROFILES || ''

0 commit comments

Comments
 (0)