Skip to content

Commit

Permalink
Merge pull request #348 from fbergkemper/dev/fbergkemper/master/fix-w…
Browse files Browse the repository at this point in the history
…ebui-selenium-test

systemtests: fix string comparison
  • Loading branch information
fbergkemper committed Nov 27, 2019
2 parents 018b058 + ef8c959 commit 6703160
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webui/tests/selenium/webui-selenium-test.py
Expand Up @@ -536,10 +536,10 @@ def get_env():
SeleniumTest.chromedriverpath = chromedriverpath

chromeheadless = os.environ.get('BAREOS_WEBUI_CHROME_HEADLESS')
if chromeheadless:
SeleniumTest.chromeheadless = chromeheadless
else:
if not chromeheadless.lower() in ['false', '0', 'n', 'no', 'off']:
SeleniumTest.chromeheadless = True
else:
SeleniumTest.chromeheadless = False

browser = os.environ.get('BAREOS_WEBUI_BROWSER')
if browser:
Expand Down

0 comments on commit 6703160

Please sign in to comment.