Skip to content

Commit 763f7f3

Browse files
07souravkundafrancisf
authored andcommitted
add: sample scripts
1 parent ef187be commit 763f7f3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
## Running your tests
2121

22-
- To run tests, run `npm run parallel`
23-
- To run local tests, run `npm run local`
22+
- To run tests, run `npm run sample-test`
23+
- To run local tests, run `npm run sample-local-test`
2424

2525
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
2626

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"local": "nightwatch --test ./tests/local/local_test.js --env browserstack ",
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",
12-
"suite": "nightwatch ./tests/suite --parallel --env browserstack.chrome"
12+
"suite": "nightwatch ./tests/suite --parallel --env browserstack.chrome",
13+
"sample-test": "npm run parallel",
14+
"sample-local-test": "npm run parallel_local"
1315
},
1416
"repository": {
1517
"type": "git",

0 commit comments

Comments
 (0)