Skip to content

Commit 79bcfdf

Browse files
author
Ives van Hoorne
committed
Add build name
1 parent 27af482 commit 79bcfdf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/app/integration-tests/browser-tests/browsers.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
const webdriver = require('selenium-webdriver');
22

3+
const hash = require('child_process')
4+
.execSync('git rev-parse --short HEAD')
5+
.toString();
6+
37
function getCapabilities(browserInfo) {
48
return {
59
...browserInfo,
610
'browserstack.user': process.env.BROWSER_STACK_USER,
711
'browserstack.key': process.env.BROWSER_STACK_KEY,
812
'browserstack.local': 'true',
13+
build: hash,
914
};
1015
}
1116

0 commit comments

Comments
 (0)