Skip to content

Commit

Permalink
Add wdio video reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
dstoc committed May 7, 2024
1 parent 89cb4cd commit 1ee1152
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"wdio-video-reporter": "^5.2.0",
"web-tree-sitter": "^0.22.6",
"webdriverio": "^8.24.1"
}
Expand Down
171 changes: 171 additions & 0 deletions pnpm-lock.yaml

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

3 changes: 2 additions & 1 deletion test/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import {browser} from '@wdio/globals';
import type {Options} from '@wdio/types';
import * as os from 'os';
import video from 'wdio-video-reporter';

const instances = Math.max(1, Math.round(os.cpus().length * 0.75));
export const config: Options.Testrunner = {
Expand Down Expand Up @@ -46,7 +47,7 @@ export const config: Options.Testrunner = {
connectionRetryCount: 3,
services: [],
framework: 'jasmine',
reporters: ['spec'],
reporters: ['spec', video],
jasmineOpts: {
stopOnSpecFailure: true,
defaultTimeoutInterval: 60000,
Expand Down

0 comments on commit 1ee1152

Please sign in to comment.