@argos-ci/playwright 3.5.4-alpha.0 → 3.6.0

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.
Files changed (2) hide show
  1. package/dist/reporter.mjs +12 -11
  2. package/package.json +6 -6
package/dist/reporter.mjs CHANGED
@@ -261,7 +261,17 @@ class ArgosReporter {
261
261
  "**/*.png"
262
262
  ],
263
263
  parallel: parallel ?? undefined,
264
- ...this.config
264
+ ...this.config,
265
+ buildName: undefined,
266
+ metadata: {
267
+ testReport: {
268
+ status: result.status,
269
+ stats: {
270
+ startTime: result.startTime.toISOString(),
271
+ duration: result.duration
272
+ }
273
+ }
274
+ }
265
275
  };
266
276
  try {
267
277
  if (checkIsDynamicBuildName(buildNameConfig)) {
@@ -281,16 +291,7 @@ class ArgosReporter {
281
291
  const res = await upload({
282
292
  ...uploadOptions,
283
293
  root: uploadDir,
284
- buildName,
285
- metadata: {
286
- testReport: {
287
- status: result.status,
288
- stats: {
289
- startTime: result.startTime.toISOString(),
290
- duration: result.duration
291
- }
292
- }
293
- }
294
+ buildName
294
295
  });
295
296
  console.log(chalk.green(`✅ Argos "${buildName}" build created: ${res.build.url}`));
296
297
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/playwright",
3
3
  "description": "Visual testing solution to avoid visual regression. Playwright commands and utilities for Argos visual testing.",
4
- "version": "3.5.4-alpha.0+4ed9b25",
4
+ "version": "3.6.0",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -42,14 +42,14 @@
42
42
  "node": ">=18.0.0"
43
43
  },
44
44
  "dependencies": {
45
- "@argos-ci/browser": "2.1.4-alpha.14+4ed9b25",
46
- "@argos-ci/core": "2.7.1-alpha.0+4ed9b25",
47
- "@argos-ci/util": "2.1.2-alpha.14+4ed9b25",
45
+ "@argos-ci/browser": "2.1.3",
46
+ "@argos-ci/core": "2.8.0",
47
+ "@argos-ci/util": "2.1.1",
48
48
  "chalk": "^5.3.0",
49
49
  "debug": "^4.3.6"
50
50
  },
51
51
  "devDependencies": {
52
- "@argos-ci/cli": "2.4.2-alpha.0+4ed9b25",
52
+ "@argos-ci/cli": "2.4.2",
53
53
  "@argos-ci/playwright": "workspace:.",
54
54
  "@playwright/test": "^1.46.1",
55
55
  "@types/debug": "^4.1.12",
@@ -61,5 +61,5 @@
61
61
  "test": "pnpm exec -- playwright test",
62
62
  "e2e": "UPLOAD_TO_ARGOS=true pnpm run test"
63
63
  },
64
- "gitHead": "4ed9b253b5037f2111d44bcd41fe3467371c41e3"
64
+ "gitHead": "682860bc510fc3c2afcdd3335236c463ccce2783"
65
65
  }