diff options
author | agrajaghh <agrajaghh@gmail.com> | 2016-09-23 10:51:40 +0300 |
---|---|---|
committer | agrajaghh <agrajaghh@gmail.com> | 2016-09-29 15:43:54 +0300 |
commit | a574765da710ef2029b2020722fe2f151a71db11 (patch) | |
tree | 89db655a5412174819ccad4d384e937cb7904b9e /guiTests | |
parent | a65efc4e65050b4b5486d10afc22979621f16377 (diff) |
fix local selenium tests
Diffstat (limited to 'guiTests')
-rw-r--r-- | guiTests/guiTest.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guiTests/guiTest.py b/guiTests/guiTest.py index 616a537a1..b42281152 100644 --- a/guiTests/guiTest.py +++ b/guiTests/guiTest.py @@ -9,11 +9,11 @@ from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions -if not "SAUCE_USERNAME" in os.environ: - print "No sauce labs login credentials found. Stopping tests..." - sys.exit(0) - if "TRAVIS_BUILD_NUMBER" in os.environ: + if not "SAUCE_USERNAME" in os.environ: + print "No sauce labs login credentials found. Stopping tests..." + sys.exit(0) + capabilities = {'browserName': "firefox"} capabilities['platform'] = "Windows 7" capabilities['version'] = "48.0" |