Skip to content

Commit ae78a15

Browse files
agarneha1331francisf
authored andcommitted
Changes in yml
1 parent 6feb25e commit ae78a15

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

browserstack.yml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,24 @@
55
# BROWSERSTACK_ACCESS_KEY as env variables
66
userName: YOUR_USERNAME
77
accessKey: YOUR_ACCESS_KEY
8+
89
# ======================
9-
# Organizing your tests
10+
# BrowserStack Reporting
1011
# ======================
11-
# Use `projectName`, `buildName`, `name` capabilities to organise your tests
12-
# `name` is the name of your test sessions and is automatically picked from your
13-
# test name and doesn't need to be set manually when using BrowserStack SDK
14-
# `buildName` is used to name your CI/CD job or the execution of your test suite.
15-
# Ensure you add a dynamic identifier, like an incremental build number from your
16-
# CI/CD or timestamp at the end of every build; otherwise tests from different
17-
# executions will be grouped together on BrowserStack
18-
buildName: browserstack-build-1
19-
# Use `projectName` to set the name of your project. Example, Marketing Website
12+
# The following capabilities are used to set up reporting on BrowserStack:
13+
# Set 'projectName' to the name of your project. Example, Marketing Website
2014
projectName: BrowserStack Samples
15+
# Set `buildName` as the name of the job / testsuite being run
16+
buildName: browserstack build
17+
# `buildIdentifer` is a unique id to differentiate every execution that gets appended to
18+
# buildName. Choose your buildIdentifier format from the the available expressions:
19+
# ${BUILD_NUMBER} (Default): Generates an incremental counter with every execution
20+
# ${DATE_TIME}: Generates a Timestamp with every execution. Eg. 05-Nov-19:30
21+
# Read more about buildIdentifiers here -> https://www.browserstack.com/docs/automate/selenium/organize-tests
22+
buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${expression}
23+
# Set `source` in the syntax `<fw-name>:sample-<branch-name>:<version-number>
2124
source: mocha:sample-master:v1.0
25+
2226
# =======================================
2327
# Platforms (Browsers / Devices to test)
2428
# =======================================
@@ -27,18 +31,16 @@ source: mocha:sample-master:v1.0
2731
platforms:
2832
- os: OS X
2933
osVersion: Big Sur
30-
browser: Chrome
34+
browserName: Chrome
3135
browserVersion: latest
3236
- os: Windows
3337
osVersion: 10
34-
browser: Edge
38+
browserName: Edge
3539
browserVersion: latest
36-
- device: iPhone 13
37-
browserName: Safari
38-
osVersion: 15
39-
- device: Samsung Galaxy S22 Ultra
40+
- deviceName: Samsung Galaxy S22 Ultra
4041
browserName: chrome # Try 'samsung' for Samsung browser
4142
osVersion: 12.0
43+
4244
# =======================
4345
# Parallels per Platform
4446
# =======================
@@ -49,18 +51,21 @@ platforms:
4951
#
5052
# Example 2 - If you have configured 1 platform and set `parallelsPerPlatform` as 5, a total of 5 (1 * 5) parallel threads will be used on BrowserStack
5153
parallelsPerPlatform: 1
54+
5255
# ==========================================
5356
# BrowserStack Local
5457
# (For localhost, staging/private websites)
5558
# ==========================================
5659
# Set browserStackLocal to true if your website under test is not accessible publicly over the internet
5760
# Learn more about how BrowserStack Local works here -> https://www.browserstack.com/docs/automate/selenium/local-testing-introduction
5861
browserstackLocal: true # <boolean> (Default false)
62+
5963
# browserStackLocalOptions:
6064
# Options to be passed to BrowserStack local in-case of advanced configurations
6165
# localIdentifier: # <string> (Default: null) Needed if you need to run multiple instances of local.
6266
# forceLocal: true # <boolean> (Default: false) Set to true if you need to resolve all your traffic via BrowserStack Local tunnel.
6367
# Entire list of arguments availabe here -> https://www.browserstack.com/docs/automate/selenium/manage-incoming-connections
68+
6469
# ===================
6570
# Debugging features
6671
# ===================

0 commit comments

Comments
 (0)