@arghajit/playwright-pulse-report 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -54
- package/dist/reporter/attachment-utils.js +41 -33
- package/dist/reporter/playwright-pulse-reporter.js +65 -127
- package/dist/types/index.d.ts +6 -1
- package/package.json +8 -3
- package/scripts/generate-report.mjs +222 -158
- package/scripts/generate-static-report.mjs +324 -374
- package/scripts/generate-trend.mjs +1 -1
- package/scripts/sendReport.mjs +5 -5
package/scripts/sendReport.mjs
CHANGED
|
@@ -265,11 +265,11 @@ const sendEmail = async (credentials) => {
|
|
|
265
265
|
const mailOptions = {
|
|
266
266
|
from: credentials.username,
|
|
267
267
|
to: [
|
|
268
|
-
process.env.
|
|
269
|
-
process.env.
|
|
270
|
-
process.env.
|
|
271
|
-
process.env.
|
|
272
|
-
process.env.
|
|
268
|
+
process.env.RECIPIENT_EMAIL_1 || "",
|
|
269
|
+
process.env.RECIPIENT_EMAIL_2 || "",
|
|
270
|
+
process.env.RECIPIENT_EMAIL_3 || "",
|
|
271
|
+
process.env.RECIPIENT_EMAIL_4 || "",
|
|
272
|
+
process.env.RECIPIENT_EMAIL_5 || "",
|
|
273
273
|
].filter((email) => email), // Filter out empty strings
|
|
274
274
|
subject: "Pulse Report " + new Date().toLocaleString(),
|
|
275
275
|
html: htmlContent,
|