diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/testinfra/test_horizon.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/testinfra/test_horizon.py b/tests/testinfra/test_horizon.py index abdb787c6..1f193e383 100644 --- a/tests/testinfra/test_horizon.py +++ b/tests/testinfra/test_horizon.py @@ -33,9 +33,11 @@ with open("/etc/kolla/passwords.yml", 'r') as file: def test_horizon_screenshot(host): firefox_options = webdriver.FirefoxOptions() + selenium_url = host.environment().get( + 'SELENIUM_REMOTE_URL', 'http://localhost:4500/wd/hub') driver = webdriver.Remote( - command_executor='http://localhost:4444/wd/hub', + command_executor=selenium_url, options=firefox_options) horizon_proto = host.environment().get('HORIZON_PROTO') @@ -73,9 +75,11 @@ def test_horizon_screenshot(host): def test_horizon_login(host): firefox_options = webdriver.FirefoxOptions() + selenium_url = host.environment().get( + 'SELENIUM_REMOTE_URL', 'http://localhost:4500/wd/hub') driver = webdriver.Remote( - command_executor='http://localhost:4444/wd/hub', + command_executor=selenium_url, options=firefox_options) horizon_proto = host.environment().get('HORIZON_PROTO') |
