Skip to content

Commit 0c13fb7

Browse files
committed
add: buildIdentifier v7
1 parent c502346 commit 0c13fb7

3 files changed

Lines changed: 14 additions & 8 deletions

File tree

conf/local-test.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ const localConfig = {
55
services: [
66
[
77
'browserstack',
8-
{ browserstackLocal: true, opts: { forcelocal: false } },
8+
{ browserstackLocal: true, buildIdentifier: '#${BUILD_NUMBER}', opts: { forcelocal: true } },
99
],
1010
],
1111
capabilities: [
1212
{
1313
browserName: 'chrome',
1414
browserVersion: 'latest',
1515
'bstack:options': {
16-
buildName: 'browserstack-build-1',
16+
buildName: 'browserstack build',
1717
source: 'webdriverio:sample-master:v1.0'
1818
}
1919
},

conf/test.conf.js

Lines changed: 7 additions & 1 deletion
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',
7+
buildName: 'browserstack build',
88
source: 'webdriverio:sample-master:v1.0'
99
}
1010
},
11+
services: [
12+
[
13+
'browserstack',
14+
{ buildIdentifier: '#${BUILD_NUMBER}' },
15+
],
16+
],
1117
capabilities: [
1218
{
1319
browserName: 'chrome',

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
},
2323
"homepage": "https://github.com/browserstack/webdriverio-browserstack#readme",
2424
"dependencies": {
25-
"@wdio/cli": "^7.20.5",
25+
"@wdio/cli": "^7.30.2",
2626
"chai": "^4.3.6",
27-
"webdriverio": "^7.20.5"
27+
"webdriverio": "^7.30.2"
2828
},
2929
"devDependencies": {
30-
"@wdio/browserstack-service": "^7.20.5",
31-
"@wdio/local-runner": "^7.20.5",
32-
"@wdio/mocha-framework": "^7.20.3"
30+
"@wdio/browserstack-service": "^7.30.2",
31+
"@wdio/local-runner": "^7.30.2",
32+
"@wdio/mocha-framework": "^7.30.2"
3333
}
3434
}

0 commit comments

Comments
 (0)