Skip to content

Commit

Permalink
webui: travis selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Nov 28, 2018
1 parent 0d175a3 commit 46c2b69
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions webui/tests/selenium/webui-selenium-test.py
Expand Up @@ -148,16 +148,13 @@ def __setUpTravis(self):
buildnumber = os.environ['TRAVIS_BUILD_NUMBER']
if buildnumber:
self.desired_capabilities['build'] = buildnumber
# ${TRAVIS_JOB_WEB_URL}
# ${TRAVIS_BUILD_WEB_URL}
# https://github.com/bareos/bareos/tree/${TRAVIS_BRANCH}
# https://github.com/bareos/bareos/tree/${TRAVIS_COMMIT}
self.desired_capabilities['name'] = "Travis Build Nr. {}: {}".format(buildnumber, __getTestName())
self.desired_capabilities['tags'] = [ ${TRAVIS_BRANCH} ]
self.desired_capabilities['tags'] = [ os.environ.get('TRAVIS_BRANCH') ]
self.desired_capabilities['custom-data'] = self.__getDictFromEnv()
self.desired_capabilities['platform'] = "macOS 10.13"
self.desired_capabilities['browserName'] = "chrome"
self.desired_capabilities['version'] = "latest"
self.desired_capabilities['captureHtml'] = True
self.desired_capabilities['extendedDebugging'] = True
sauce_url = "http://%s:%s@localhost:4445/wd/hub"
self.driver = webdriver.Remote(
Expand Down

0 comments on commit 46c2b69

Please sign in to comment.