@bigbinary/neeto-playwright-reporter 1.5.3 → 1.5.4
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/index.cjs.js +5 -7
- package/index.cjs.js.map +1 -1
- package/index.js +5 -7
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -2427,11 +2427,9 @@ class ConsoleLogFormatted {
|
|
|
2427
2427
|
}
|
|
2428
2428
|
createMethod(logLevel, ansiFormatter) {
|
|
2429
2429
|
this[logLevel] = (message) => {
|
|
2430
|
-
if (this.shouldPrintMessage(logLevel))
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
process.stdout.write("\x1B[" + 3 + "B");
|
|
2434
|
-
}
|
|
2430
|
+
if (!this.shouldPrintMessage(logLevel))
|
|
2431
|
+
return;
|
|
2432
|
+
process.stdout.write(`\n${ansiFormatter}${message}\x1b[0m\u001b[0m`);
|
|
2435
2433
|
};
|
|
2436
2434
|
}
|
|
2437
2435
|
}
|
|
@@ -21375,7 +21373,7 @@ CI Build ID: ${ciBuildId}\n`;
|
|
|
21375
21373
|
\n`,
|
|
21376
21374
|
},
|
|
21377
21375
|
onEnd: {
|
|
21378
|
-
runReported: "Run completed and reported to NeetoPlaydash
|
|
21376
|
+
runReported: "Run completed and reported to NeetoPlaydash 🎉\n\n",
|
|
21379
21377
|
},
|
|
21380
21378
|
};
|
|
21381
21379
|
|
|
@@ -21525,9 +21523,9 @@ const onTestBegin = async (self, test, { retry }) => {
|
|
|
21525
21523
|
const startedAt = new Date().toString();
|
|
21526
21524
|
const attemptIndex = joinHyphenCase(retry, repeatEachIndex);
|
|
21527
21525
|
self.unreportedAttemptCount++;
|
|
21528
|
-
consoleLogFormatted.invertBackground(MESSAGES.onTestBegin.startingTest(title, historyId));
|
|
21529
21526
|
try {
|
|
21530
21527
|
await waitUntilCondition(() => { var _a, _b; return (_b = (_a = self.attempts) === null || _a === void 0 ? void 0 : _a[historyId]) === null || _b === void 0 ? void 0 : _b[FIRST_ATTEMPT_INDEX]; });
|
|
21528
|
+
consoleLogFormatted.invertBackground(MESSAGES.onTestBegin.startingTest(title, historyId));
|
|
21531
21529
|
const attemptsPayload = {
|
|
21532
21530
|
status: "running",
|
|
21533
21531
|
startedAt,
|