@argos-ci/playwright 6.0.0 → 6.0.2

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.
@@ -59,6 +59,7 @@ declare class ArgosReporter implements Reporter {
59
59
  onEnd(result: FullResult): Promise<{
60
60
  status: "failed";
61
61
  } | undefined>;
62
+ printsToStdio(): boolean;
62
63
  }
63
64
 
64
65
  export { type ArgosReporterOptions, createArgosReporterOptions, ArgosReporter as default };
package/dist/reporter.js CHANGED
@@ -146,9 +146,9 @@ async function getParallelFromConfig(config) {
146
146
  );
147
147
  }
148
148
  return {
149
- total: config.shard.total,
149
+ total: argosConfig.parallelTotal ?? config.shard.total,
150
150
  nonce: argosConfig.parallelNonce,
151
- index: config.shard.current
151
+ index: argosConfig.parallelIndex ?? config.shard.current
152
152
  };
153
153
  }
154
154
  function getAutomaticScreenshotName(test, result) {
@@ -318,6 +318,9 @@ var ArgosReporter = class {
318
318
  }
319
319
  return;
320
320
  }
321
+ printsToStdio() {
322
+ return false;
323
+ }
321
324
  };
322
325
  var reporter_default = ArgosReporter;
323
326
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/playwright",
3
3
  "description": "Playwright SDK for visual testing with Argos.",
4
- "version": "6.0.0",
4
+ "version": "6.0.2",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -67,5 +67,5 @@
67
67
  "check-format": "prettier --check --ignore-unknown --ignore-path=../../.gitignore --ignore-path=../../.prettierignore .",
68
68
  "lint": "eslint ."
69
69
  },
70
- "gitHead": "807e4a9f3c4bfddd4197ed7394b032a39bc1c58e"
70
+ "gitHead": "b7fb60faa562af324f33c48d7552f82c947e1d4d"
71
71
  }