Skip to content

Commit 10a8d0e

Browse files
Merge pull request #6 from browserstack/add_source_caps
Add source cap for tracking
2 parents a0d1034 + 2958ddb commit 10a8d0e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

config/local.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"bstack:options": {
66
"projectName": "Pytest Browserstack",
77
"buildName": "browserstack-build-1",
8-
"sessionName": "Bstack Local Test",
8+
"sessionName": "BStack local pytest",
99
"local": true,
1010
"debug": "true",
1111
"networkLogs": "true"

config/sample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"bstack:options": {
66
"projectName": "Pytest Browserstack",
77
"buildName": "browserstack-build-1",
8-
"sessionName": "BStack pytest sample",
8+
"sessionName": "BStack sample pytest",
99
"local": false,
1010
"debug": "true",
1111
"networkLogs": "true"

conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def session_capabilities():
3131
capabilities = merge(CONFIG['environments'][TASK_ID],CONFIG["capabilities"])
3232
capabilities['bstack:options']['userName'] = BROWSERSTACK_USERNAME
3333
capabilities['bstack:options']['accessKey'] = BROWSERSTACK_ACCESS_KEY
34+
capabilities['bstack:options']['source'] = 'pytest:sample-main:v1.0'
3435
if "local" in capabilities['bstack:options'] and capabilities['bstack:options']['local']:
3536
start_local()
3637
return capabilities

0 commit comments

Comments
 (0)