Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: drop the test count line from the registry (#43528)

Yury Semikhatskyacfe6bfdacf0
diff --git a/tests/config/registryReporter.ts b/tests/config/registryReporter.ts
index 3991ca9630..0fed9313c0 100644
--- a/tests/config/registryReporter.ts
+++ b/tests/config/registryReporter.ts
@@ -117,15 +117,11 @@ function renderRegistry(header: string, names: Map<string, string>, entries: Map
const byCode = new Map<string, Entry[]>([...names.keys()].map(code => [code, []]));
for (const entry of [...entries.values()].sort((a, b) => a.id.localeCompare(b.id)))
byCode.get(entry.code)?.push(entry);
- const listed = [...byCode.values()].flat();
- const copies = listed.reduce((sum, entry) => sum + entry.titlePaths.size, 0);
const lines = [
header.trimEnd(),
'',
'## Subsystems',
'',
- `${names.size} subsystems, ${listed.length} tests (${copies} with loop copies).`,
- '',
'| Code | Subsystem | Files | Tests |',
'|---|---|---|---|',
];
diff --git a/tests/registry.md b/tests/registry.md
index 90e738b870..02f43fc695 100644
--- a/tests/registry.md
+++ b/tests/registry.md
@@ -26,8 +26,6 @@ subsystem, add a row to the Subsystems table. Then update this file:
## Subsystems
-98 subsystems, 4934 tests (5331 with loop copies).
-
| Code | Subsystem | Files | Tests |
|---|---|---|---|
| `AN` | Android WebViews | `library/unit/android-webviews` | 1 |