@dionlarson/playwright-orchestrator-core 1.6.3 → 1.6.5

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.
@@ -3,6 +3,8 @@ import { TestStatus } from '../types/test-info.js';
3
3
  import { calculateTrend, formatDuration } from './helpers.js';
4
4
  export async function ghaReporter(data) {
5
5
  const { config, runId, tests } = data;
6
+ // Filter out tests that never ran (status = Ready, no report data)
7
+ const completedTests = tests.filter((test) => test.title !== undefined);
6
8
  await core.summary
7
9
  .addHeading(`🏃 Test run summary`)
8
10
  .addDetails('Run config', buildConfigData(data))
@@ -16,7 +18,7 @@ export async function ghaReporter(data) {
16
18
  { data: '✨ Last successful run', header: true },
17
19
  { data: '❌ Fails', header: true },
18
20
  ],
19
- ...tests.map((test) => {
21
+ ...completedTests.map((test) => {
20
22
  const { percentage, trendIcon } = calculateTrend(test);
21
23
  return [
22
24
  test.status === TestStatus.Passed ? '✅' : '❌',
package/package.json CHANGED
@@ -1,81 +1,81 @@
1
1
  {
2
- "name": "@dionlarson/playwright-orchestrator-core",
3
- "version": "1.6.3",
4
- "description": "Core lib and cli for Playwright test orchestration",
5
- "keywords": [
6
- "playwright",
7
- "testing",
8
- "automation",
9
- "orchestration",
10
- "e2e"
11
- ],
12
- "author": "Rostyslav Kudrevatykh",
13
- "license": "Apache-2.0",
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/dionlarson/playwright-orchestrator-private.git"
2
+ "name": "@dionlarson/playwright-orchestrator-core",
3
+ "version": "1.6.5",
4
+ "description": "Core lib and cli for Playwright test orchestration",
5
+ "keywords": [
6
+ "playwright",
7
+ "testing",
8
+ "automation",
9
+ "orchestration",
10
+ "e2e"
11
+ ],
12
+ "author": "Rostyslav Kudrevatykh",
13
+ "license": "Apache-2.0",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/dionlarson/playwright-orchestrator-private.git"
17
+ },
18
+ "module": "dist/index.js",
19
+ "types": "dist/index.d.ts",
20
+ "bin": {
21
+ "playwright-orchestrator": "./dist/cli.js"
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "dependencies": {
27
+ "@actions/core": "^1.11.1",
28
+ "@commander-js/extra-typings": "^13.0.0",
29
+ "ansi-escapes": "^7.0.0",
30
+ "chalk": "^5.4.1",
31
+ "commander": "^13.0.0",
32
+ "boxen": "^8.0.1",
33
+ "typescript": "^5.0.0",
34
+ "uuid": "^11.0.3"
35
+ },
36
+ "devDependencies": {},
37
+ "engines": {
38
+ "node": ">=18.0.0"
39
+ },
40
+ "type": "module",
41
+ "main": "dist/index.js",
42
+ "exports": {
43
+ ".": {
44
+ "types": "./dist/index.d.ts",
45
+ "default": "./dist/index.js"
17
46
  },
18
- "module": "dist/index.js",
19
- "types": "dist/index.d.ts",
20
- "bin": {
21
- "playwright-orchestrator": "./dist/cli.js"
47
+ "./cli": "./dist/cli.js",
48
+ "./package.json": "./package.json",
49
+ "./tests-info-reporter": "./dist/playwright-tools/run-info-reporter.js",
50
+ "./test-result-reporter": "./dist/playwright-tools/test-result-reporter.js",
51
+ "./annotations": "./dist/playwright-tools/annotations.cjs"
52
+ },
53
+ "peerDependencies": {
54
+ "@playwright/test": "^1.44.0",
55
+ "@dionlarson/playwright-orchestrator-file": "^1.0.0",
56
+ "@dionlarson/playwright-orchestrator-dynamo-db": "^1.0.0",
57
+ "@dionlarson/playwright-orchestrator-pg": "^1.0.0",
58
+ "@dionlarson/playwright-orchestrator-mysql": "^1.0.0",
59
+ "@dionlarson/playwright-orchestrator-mongo": "^1.0.0"
60
+ },
61
+ "peerDependenciesMeta": {
62
+ "@dionlarson/playwright-orchestrator-file": {
63
+ "optional": true
22
64
  },
23
- "files": [
24
- "dist"
25
- ],
26
- "dependencies": {
27
- "@actions/core": "^1.11.1",
28
- "@commander-js/extra-typings": "^13.0.0",
29
- "ansi-escapes": "^7.0.0",
30
- "chalk": "^5.4.1",
31
- "commander": "^13.0.0",
32
- "boxen": "^8.0.1",
33
- "typescript": "^5.0.0",
34
- "uuid": "^11.0.3"
65
+ "@dionlarson/playwright-orchestrator-dynamo-db": {
66
+ "optional": true
35
67
  },
36
- "devDependencies": {},
37
- "engines": {
38
- "node": ">=18.0.0"
68
+ "@dionlarson/playwright-orchestrator-pg": {
69
+ "optional": true
39
70
  },
40
- "type": "module",
41
- "main": "dist/index.js",
42
- "exports": {
43
- ".": {
44
- "types": "./dist/index.d.ts",
45
- "default": "./dist/index.js"
46
- },
47
- "./cli": "./dist/cli.js",
48
- "./package.json": "./package.json",
49
- "./tests-info-reporter": "./dist/playwright-tools/run-info-reporter.js",
50
- "./test-result-reporter": "./dist/playwright-tools/test-result-reporter.js",
51
- "./annotations": "./dist/playwright-tools/annotations.cjs"
71
+ "@dionlarson/playwright-orchestrator-mysql": {
72
+ "optional": true
52
73
  },
53
- "peerDependencies": {
54
- "@playwright/test": "^1.44.0",
55
- "@dionlarson/playwright-orchestrator-file": "^1.0.0",
56
- "@dionlarson/playwright-orchestrator-dynamo-db": "^1.0.0",
57
- "@dionlarson/playwright-orchestrator-pg": "^1.0.0",
58
- "@dionlarson/playwright-orchestrator-mysql": "^1.0.0",
59
- "@dionlarson/playwright-orchestrator-mongo": "^1.0.0"
60
- },
61
- "peerDependenciesMeta": {
62
- "@dionlarson/playwright-orchestrator-file": {
63
- "optional": true
64
- },
65
- "@dionlarson/playwright-orchestrator-dynamo-db": {
66
- "optional": true
67
- },
68
- "@dionlarson/playwright-orchestrator-pg": {
69
- "optional": true
70
- },
71
- "@dionlarson/playwright-orchestrator-mysql": {
72
- "optional": true
73
- },
74
- "@dionlarson/playwright-orchestrator-mongo": {
75
- "optional": true
76
- }
77
- },
78
- "scripts": {
79
- "prepare": "cp ../../README.md ./ && cp ../../LICENSE.md ./"
74
+ "@dionlarson/playwright-orchestrator-mongo": {
75
+ "optional": true
80
76
  }
77
+ },
78
+ "scripts": {
79
+ "prepare": "cp ../../README.md ./ && cp ../../LICENSE.md ./"
80
+ }
81
81
  }