@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.js CHANGED
@@ -2407,11 +2407,9 @@ class ConsoleLogFormatted {
2407
2407
  }
2408
2408
  createMethod(logLevel, ansiFormatter) {
2409
2409
  this[logLevel] = (message) => {
2410
- if (this.shouldPrintMessage(logLevel)) {
2411
- process.stdout.write("\x1B[" + 3 + "A");
2412
- process.stdout.write(`\n${ansiFormatter}${message}\x1b[0m\u001b[0m`);
2413
- process.stdout.write("\x1B[" + 3 + "B");
2414
- }
2410
+ if (!this.shouldPrintMessage(logLevel))
2411
+ return;
2412
+ process.stdout.write(`\n${ansiFormatter}${message}\x1b[0m\u001b[0m`);
2415
2413
  };
2416
2414
  }
2417
2415
  }
@@ -21355,7 +21353,7 @@ CI Build ID: ${ciBuildId}\n`;
21355
21353
  \n`,
21356
21354
  },
21357
21355
  onEnd: {
21358
- runReported: "Run completed and reported to NeetoPlaydash 🎉",
21356
+ runReported: "Run completed and reported to NeetoPlaydash 🎉\n\n",
21359
21357
  },
21360
21358
  };
21361
21359
 
@@ -21505,9 +21503,9 @@ const onTestBegin = async (self, test, { retry }) => {
21505
21503
  const startedAt = new Date().toString();
21506
21504
  const attemptIndex = joinHyphenCase(retry, repeatEachIndex);
21507
21505
  self.unreportedAttemptCount++;
21508
- consoleLogFormatted.invertBackground(MESSAGES.onTestBegin.startingTest(title, historyId));
21509
21506
  try {
21510
21507
  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]; });
21508
+ consoleLogFormatted.invertBackground(MESSAGES.onTestBegin.startingTest(title, historyId));
21511
21509
  const attemptsPayload = {
21512
21510
  status: "running",
21513
21511
  startedAt,