playwright-mail-reporter
Advanced tools
Comparing version
@@ -5,2 +5,6 @@ # Changelog | ||
## [0.0.3] | ||
- Combine failed and timeout to get the total number of failed tests | ||
## [0.0.2] | ||
@@ -7,0 +11,0 @@ |
@@ -40,3 +40,4 @@ "use strict"; | ||
} | ||
const hasFailed = totalStatus.failed > 0; | ||
const totalFailed = totalStatus.failed + totalStatus.timedOut; | ||
const hasFailed = totalFailed > 0; | ||
if (!options.mailOnFailure && hasFailed) { | ||
@@ -43,0 +44,0 @@ console.log("Not sending email on failure"); |
{ | ||
"name": "playwright-mail-reporter", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Mail reporter for Playwright powered by Resend", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
23813
0.6%460
0.22%