Skip to content

Commit

Permalink
Reports (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jul 17, 2024
1 parent 469be93 commit e40e5cc
Show file tree
Hide file tree
Showing 5 changed files with 155 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ jobs:
uses: coactions/setup-xvfb@v1
with:
run: npm run test:e2e
- uses: actions/upload-artifact@v1
# if: failure()
with:
name: logs
path: e2e/reports
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ dist
node_modules
.vscode-test/
.DS_Store
.wdio-vscode-service
.wdio-vscode-service
e2e/reports/
10 changes: 9 additions & 1 deletion e2e/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,15 @@ export const config: Options.Testrunner = {
// Test reporter for stdout.
// The only one supported by default is 'dot'
// see also: https://webdriver.io/docs/dot-reporter
reporters: ['spec'],
reporters: [
'spec',
[
'junit',
{
outputDir: path.join(__dirname, 'reports'),
},
],
],

// Setting this allows `vscode` auto attach a debugger if "Auto Attach: With Flag" is set
execArgv: ['--inspect'],
Expand Down
138 changes: 138 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^2.30.0",
"@wdio/cli": "^8.39.1",
"@wdio/junit-reporter": "^8.39.0",
"@wdio/local-runner": "^8.39.1",
"@wdio/mocha-framework": "^8.39.0",
"@wdio/spec-reporter": "^8.39.0",
Expand Down

0 comments on commit e40e5cc

Please sign in to comment.