Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ matrix:
include:
- python: "3.6"
env:
- BROWSER=chrome
- BROWSER=headlesschrome
- SELENIUM=3.8.0
- ROBOTFRAMEWORK=3.0.2
- ROBOT_OPTIONS=--dotted
Expand All @@ -52,7 +52,7 @@ matrix:
- SELENIUM=2.53.6
- ROBOTFRAMEWORK=3.0.2
- ROBOT_OPTIONS=--dotted
- python: "3.3"
- python: "3.6"
env:
- BROWSER=firefox
- SELENIUM=3.8.0
Expand Down
4 changes: 3 additions & 1 deletion test/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ def sauce_credentials(sauce_username, sauce_key):
)
args, rf_options = parser.parse_known_args()
browser = args.browser.lower().strip()
if TRAVIS and browser not in ['chrome', 'firefox'] and TRAVIS_EVENT_TYPE != 'cron':
if (TRAVIS and browser not in ['chrome', 'firefox', 'headlesschrome'] and
TRAVIS_EVENT_TYPE != 'cron'):
# When running in only Chrome and Firefox are available.
print(
'Can not run test with browser "{}" from SauceLabs with PR.\n'
'SauceLabs can be used only when running with cron and from '
Expand Down