Skip to content

Commit 73217dc

Browse files
committed
Added capabilities/yml for Firefox only.
Will be used during the compile of sketches and examples.
1 parent 8b772a3 commit 73217dc

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This file contains a list of capabilities which will be used to instantiate
2+
# the remote selenium webdrivers.
3+
# Each list entry will cause the entire test suite to be run for a remote
4+
# webdriver with the capabilities specified in the entry.
5+
6+
# See here for more on test configuration:
7+
# https://docs.saucelabs.com/reference/test-configuration
8+
9+
- browserName: "firefox"
10+
version: 42
11+
public: "public restricted"
12+
seleniumVersion: "2.48.0"
13+
maxDuration: 10800

codebender_testing/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ def jsondump(data):
5353
CHROME_EXT_MAX_CHROME_VERSION = 41
5454

5555
# Path to YAML file specifying capability list
56-
DEFAULT_CAPABILITIES_FILE_PATH = _rel_path('capabilities.yaml')
56+
DEFAULT_CAPABILITIES_FILE = os.getenv('CAPABILITIES', 'capabilities.yaml')
57+
DEFAULT_CAPABILITIES_FILE_PATH = _rel_path(DEFAULT_CAPABILITIES_FILE)
5758

5859
# Files used for testing
5960
TEST_DATA_DIR = _rel_path('..', 'test_data')

0 commit comments

Comments
 (0)