Skip to content

Commit 2a52630

Browse files
authored
Merge pull request #54 from kamal-kaur04/add-buildIdentifier-v7
add: buildIdentifier v7
2 parents d9d85ab + e32bf11 commit 2a52630

3 files changed

Lines changed: 452 additions & 186 deletions

File tree

conf/local-test.conf.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,23 @@ const localConfig = {
55
services: [
66
[
77
'browserstack',
8-
{ browserstackLocal: true, opts: { forcelocal: false } },
8+
{
9+
browserstackLocal: true,
10+
buildIdentifier: '#${BUILD_NUMBER}',
11+
opts: {
12+
forcelocal: false,
13+
localIdentifier: 'webdriverio-browserstack-repo'
14+
}
15+
},
916
],
1017
],
1118
capabilities: [
1219
{
1320
browserName: 'chrome',
1421
browserVersion: 'latest',
1522
'bstack:options': {
16-
buildName: 'browserstack-build-1',
17-
source: 'webdriverio:sample-master:v1.1'
23+
buildName: 'browserstack build',
24+
source: 'webdriverio:sample-master:v1.2'
1825
}
1926
},
2027
],

conf/test.conf.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ const parallelConfig = {
44
maxInstances: 10,
55
commonCapabilities: {
66
'bstack:options': {
7-
buildName: 'browserstack-build-1',
8-
source: 'webdriverio:sample-master:v1.1'
7+
buildName: 'browserstack build',
8+
source: 'webdriverio:sample-master:v1.2'
99
}
1010
},
11+
services: [
12+
[
13+
'browserstack',
14+
{ buildIdentifier: '#${BUILD_NUMBER}' },
15+
],
16+
],
1117
capabilities: [
1218
{
1319
browserName: 'chrome',

0 commit comments

Comments
 (0)