@uuv/playwright 3.53.0 → 3.54.1

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.
@@ -28,7 +28,11 @@ class ReportOfFeature {
28
28
  passed = 0;
29
29
  skipped = 0;
30
30
  failed = 0;
31
- increment(status) {
31
+ retries = 0;
32
+ increment(status, retry) {
33
+ if (retry > 0) {
34
+ this.retries++;
35
+ }
32
36
  if (status === "passed") {
33
37
  this.passed++;
34
38
  }
@@ -294,7 +298,7 @@ class UuvPlaywrightReporterHelper {
294
298
  }
295
299
  }
296
300
  updateConsoleReport(featureFile, result) {
297
- this.consoleReportMap.get(featureFile)?.increment(result.status);
301
+ this.consoleReportMap.get(featureFile)?.increment(result.status, result.retry);
298
302
  }
299
303
  createTestRunFinishedEnvelope(result) {
300
304
  const endDate = new Date();
@@ -510,7 +514,8 @@ class UuvPlaywrightReporterHelper {
510
514
  { field: "file", name: "File" },
511
515
  { field: "passed", name: chalk_1.default.green("Passed") },
512
516
  { field: "skipped", name: chalk_1.default.yellow("Skipped") },
513
- { field: "failed", name: chalk_1.default.redBright("Failed") }
517
+ { field: "failed", name: chalk_1.default.redBright("Failed") },
518
+ { field: "retries", name: chalk_1.default.yellow("retries") }
514
519
  ]
515
520
  };
516
521
  let index = 1;
@@ -519,6 +524,7 @@ class UuvPlaywrightReporterHelper {
519
524
  id: index,
520
525
  file: key,
521
526
  passed: chalk_1.default.green(value.passed),
527
+ retries: chalk_1.default.yellow(value.retries),
522
528
  skipped: chalk_1.default.yellow(value.skipped),
523
529
  failed: value.failed ? chalk_1.default.redBright(value.failed) : chalk_1.default.red(value.failed)
524
530
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uuv/playwright",
3
- "version": "3.53.0",
3
+ "version": "3.54.1",
4
4
  "type": "commonjs",
5
5
  "author": "Louis Fredice NJAKO MOLOM (https://github.com/luifr10) & Stanley SERVICAL (https://github.com/stanlee974)",
6
6
  "description": "A solution to facilitate the writing and execution of E2E tests understandable by any human being using cucumber(BDD) and playwright",
@@ -46,8 +46,8 @@
46
46
  "@cucumber/cucumber": "11.3.0",
47
47
  "@cucumber/tag-expressions": "6.2.0",
48
48
  "@playwright/test": "^1.55.0",
49
- "@uuv/a11y": "1.0.0-beta.84",
50
- "@uuv/runner-commons": "2.66.0",
49
+ "@uuv/a11y": "1.0.0-beta.86",
50
+ "@uuv/runner-commons": "2.67.1",
51
51
  "axe-core": "4.11.0",
52
52
  "axe-playwright": "2.2.2",
53
53
  "chalk-table": "1.0.2",