@estruyf/github-actions-reporter
Advanced tools
Comparing version 1.9.0-beta.1026629 to 1.9.0-beta.1028590
@@ -52,4 +52,4 @@ "use strict"; | ||
} | ||
if (typeof options.report === "undefined") { | ||
this.options.report = ["fail", "flaky", "pass", "skipped"]; | ||
if (typeof options.includeResults === "undefined") { | ||
this.options.includeResults = ["fail", "flaky", "pass", "skipped"]; | ||
} | ||
@@ -56,0 +56,0 @@ if (process.env.NODE_ENV === "development") { |
@@ -75,3 +75,3 @@ "use strict"; | ||
if (options.useDetails) { | ||
const content = yield (0, getHtmlTable_1.getHtmlTable)(tests[filePath], options.showAnnotations, options.showTags, !!options.showError, options.report); | ||
const content = yield (0, getHtmlTable_1.getHtmlTable)(tests[filePath], options.showAnnotations, options.showTags, !!options.showError, options.includeResults); | ||
if (!content) { | ||
@@ -85,3 +85,3 @@ continue; | ||
else { | ||
const tableRows = yield (0, getTableRows_1.getTableRows)(tests[filePath], options.showAnnotations, options.showTags, !!options.showError, options.report); | ||
const tableRows = yield (0, getTableRows_1.getTableRows)(tests[filePath], options.showAnnotations, options.showTags, !!options.showError, options.includeResults); | ||
if (tableRows.length !== 0) { | ||
@@ -88,0 +88,0 @@ summary.addHeading((0, getTestHeading_1.getTestHeading)(fileName, os, project), 2); |
{ | ||
"name": "@estruyf/github-actions-reporter", | ||
"version": "1.9.0-beta.1026629", | ||
"version": "1.9.0-beta.1028590", | ||
"description": "GitHub Actions reporter for Playwright", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -41,3 +41,3 @@ # GitHub Actions Reporter for Playwright | ||
| showError | Show error message in summary | `false` | | ||
| report | Define which types of test results should be shown in the summary | `['pass', 'skipped', 'fail', 'flaky']` | | ||
| includeResults | Define which types of test results should be shown in the summary | `['pass', 'skipped', 'fail', 'flaky']` | | ||
| quiet | Do not show any output in the console | `false` | | ||
@@ -44,0 +44,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32168