Skip to content
Permalink
Browse files

Merge pull request #357 from fbergkemper/dev/fbergkemper/master/fix-p…

…ython-selenium

systemtests: Fix AttributeError: NoneType object has no attribute lower
  • Loading branch information
fbergkemper committed Dec 3, 2019
2 parents 406d1c2 + 8ce1c8f commit 82759cfa0613a1ed891e90aaf34a5650b4ca5d9c
Showing with 3 additions and 3 deletions.
  1. +3 −3 webui/tests/selenium/webui-selenium-test.py
@@ -729,10 +729,10 @@ def get_env():
SeleniumTest.chromedriverpath = chromedriverpath

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

browser = os.environ.get("BAREOS_WEBUI_BROWSER")
if browser:

0 comments on commit 82759cf

Please sign in to comment.
You can’t perform that action at this time.