Skip to content

Commit 19c0510

Browse files
committed
update: scripts
1 parent 763f7f3 commit 19c0510

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

nightwatch.conf.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ const bstackOptions = {
88
"os" : "OS X",
99
"osVersion" : "Big Sur",
1010
"buildName" : "browserstack-build-1",
11-
"sessionName" : "BStack nightwatch snippet",
1211
"source": "nightwatch:sample-sdk:v1.0",
1312
"seleniumVersion" : "4.0.0",
14-
userName: '${BROWSERSTACK_USERNAME}',
15-
accessKey: '${BROWSERSTACK_ACCESS_KEY}',
13+
userName: '${BROWSERSTACK_USERNAME}' || 'YOUR_USERNAME',
14+
accessKey: '${BROWSERSTACK_ACCESS_KEY}' || 'YOUR_ACCESS_KEY',
1615
},
1716
}
1817

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"parallel": "nightwatch --test ./tests/single/single_test.js --env browserstack.chrome,browserstack.edge,browserstack.firefox",
1111
"parallel_local": "nightwatch --test ./tests/local/local_test.js --env browserstack.firefox,browserstack.chrome",
1212
"suite": "nightwatch ./tests/suite --parallel --env browserstack.chrome",
13-
"sample-test": "npm run parallel",
14-
"sample-local-test": "npm run parallel_local"
13+
"sample-test": "nightwatch --test ./tests/single/single_test.js --env env1,env2,env3",
14+
"sample-local-test": "nightwatch --test ./tests/local/local_test.js --env env1,env2,env3"
1515
},
1616
"repository": {
1717
"type": "git",

0 commit comments

Comments
 (0)