Skip to content

Commit 31d6f32

Browse files
chore: add printToStdio false (#18)
1 parent 04a883d commit 31d6f32

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ reporter: [
128128

129129
A comprehensive report is generated by default, with the exception of screenshots, which you must explicitly set to true.
130130

131+
To disable stdio use Playwright built in `quiet` configuration option.
132+
131133
## Merge reports
132134

133135
When running tests in parallel, each test shard has its own test report. If you want to have a combined report showing all the test results from all the shards, you can merge them.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "playwright-ctrf-json-reporter",
3-
"version": "0.0.19",
3+
"version": "0.0.20",
44
"description": "A Playwright JSON test reporter to create test results reports",
55
"main": "dist/index.js",
66
"scripts": {

src/generate-report.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ class GenerateCtrfReport implements Reporter {
133133
this.writeReportToFile(this.ctrfReport)
134134
}
135135

136+
printsToStdio(): boolean {
137+
return false
138+
}
139+
136140
processSuite(suite: Suite): void {
137141
for (const test of suite.tests) {
138142
this.processTest(test)

0 commit comments

Comments
 (0)