forked from testmoapp/example-github-actions-selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
15 lines (15 loc) · 792 Bytes
/
package.json
File metadata and controls
15 lines (15 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"scripts": {
"test": "npx mocha test.mjs",
"test-junit": "npx mocha --reporter node_modules/mocha-junit-reporter --reporter-options jenkinsMode=1,outputs=1,mochaFile=results/mocha-test-results.xml test.mjs",
"test-report": "npx testmo automation:run:submit --instance '$TESTMO_URL' --project-id 1 --name 'Selenium test run for \"$BROWSER\"' --source 'frontend' --results results/*.xml",
"test-ci": "npx testmo automation:run:submit --instance '$TESTMO_URL' --project-id 1 --name 'Selenium test run for \"$BROWSER\"' --source 'frontend' --results results/*.xml -- npm run test-junit"
},
"devDependencies": {
"@testmo/testmo-cli": "^1.2.0",
"chai": "^4.3.7",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.0",
"selenium-webdriver": "^4.8.0"
}
}