diff --git a/config/local.json b/config/local.json index 1394f72..e490cb8 100644 --- a/config/local.json +++ b/config/local.json @@ -5,7 +5,7 @@ "bstack:options": { "projectName": "Pytest Browserstack", "buildName": "browserstack-build-1", - "sessionName": "Bstack Local Test", + "sessionName": "BStack local pytest", "local": true, "debug": "true", "networkLogs": "true" diff --git a/config/sample.json b/config/sample.json index f1c1a0b..2bfb4ab 100644 --- a/config/sample.json +++ b/config/sample.json @@ -5,7 +5,7 @@ "bstack:options": { "projectName": "Pytest Browserstack", "buildName": "browserstack-build-1", - "sessionName": "BStack pytest sample", + "sessionName": "BStack sample pytest", "local": false, "debug": "true", "networkLogs": "true" diff --git a/conftest.py b/conftest.py index d030acb..821e950 100644 --- a/conftest.py +++ b/conftest.py @@ -31,6 +31,7 @@ def session_capabilities(): capabilities = merge(CONFIG['environments'][TASK_ID],CONFIG["capabilities"]) capabilities['bstack:options']['userName'] = BROWSERSTACK_USERNAME capabilities['bstack:options']['accessKey'] = BROWSERSTACK_ACCESS_KEY + capabilities['bstack:options']['source'] = 'pytest:sample-main:v1.0' if "local" in capabilities['bstack:options'] and capabilities['bstack:options']['local']: start_local() return capabilities