Skip to content

Commit

Permalink
Merge pull request #68 from 07souravkunda/fix_scripts_sample
Browse files Browse the repository at this point in the history
Fix scripts sample
  • Loading branch information
07souravkunda authored May 24, 2023
2 parents 763f7f3 + 2e5ce47 commit 4cf413e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nightwatch.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const bstackOptions = {
"sessionName" : "BStack nightwatch snippet",
"source": "nightwatch:sample-sdk:v1.0",
"seleniumVersion" : "4.0.0",
userName: '${BROWSERSTACK_USERNAME}',
accessKey: '${BROWSERSTACK_ACCESS_KEY}',
userName: '${BROWSERSTACK_USERNAME}' || 'YOUR_USERNAME',
accessKey: '${BROWSERSTACK_ACCESS_KEY}' || 'YOUR_ACCESS_KEY',
},
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"parallel": "nightwatch --test ./tests/single/single_test.js --env browserstack.chrome,browserstack.edge,browserstack.firefox",
"parallel_local": "nightwatch --test ./tests/local/local_test.js --env browserstack.firefox,browserstack.chrome",
"suite": "nightwatch ./tests/suite --parallel --env browserstack.chrome",
"sample-test": "npm run parallel",
"sample-local-test": "npm run parallel_local"
"sample-test": "nightwatch --test ./tests/single/single_test.js --env env1,env2,env3",
"sample-local-test": "nightwatch --test ./tests/local/local_test.js --env env1,env2,env3"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 4cf413e

Please sign in to comment.