mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 18:39:33 +01:00
chore: drop obsolete scripts and a stale dev dependency, make knip report clean
- Nine one-off scripts from January and February that nothing references: three Ralph wizard drivers that click the start-screen button removed in 1.50 (against the production port, with a personal case name), a respawn monitor with a hardcoded session id, link-detection experiments for patterns that no longer exist, and two screenshot and data helpers. - @types/uuid: uuid 14 ships its own types and TypeScript already resolves them from the package. - config/knip.json now describes the workspace layout it runs in (its top-level entry and project keys were being ignored), names the manual scripts as entries, lists the system binaries tests shell out to, and honours @knipignore. `npm run knip` reports nothing; CLAUDE.md says so. - Two more unused tap helpers in the mobile test toolkit. - Docs that pointed at files which no longer exist: the browser testing guide (four deleted test files), the orchestrator panel's file name, two spawn modules in the Ralph guide, the respawn mock utilities. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
6fb8b27768
commit
03cb6a68b4
19 files changed
+29
-1050
No files matched your search
@@ -8,8 +8,8 @@ This guide documents the browser testing infrastructure, framework comparison re
|
||||
# Run standalone benchmark (recommended - avoids vitest hook issues)
|
||||
npx tsx scripts/browser-comparison.mjs
|
||||
|
||||
# Run existing browser E2E tests
|
||||
npm test -- test/browser-e2e.test.ts
|
||||
# Run the browser suite (Playwright; the files are listed in config/test-suites.ts)
|
||||
npm run test:browser
|
||||
```
|
||||
|
||||
## Framework Comparison Results
|
||||
@@ -67,7 +67,7 @@ We tested three browser automation frameworks against the Codeman web UI:
|
||||
});
|
||||
```
|
||||
|
||||
3. **Use the existing browser-e2e.test.ts pattern** which uses agent-browser CLI commands via `execSync` (avoids async hook issues)
|
||||
3. **Drive agent-browser through its CLI** with `execSync`, as `scripts/browser-comparison.mjs` does (avoids async hook issues)
|
||||
|
||||
## Test File Structure
|
||||
|
||||
@@ -93,10 +93,8 @@ fixed ports 3180-3182.
|
||||
|
||||
| File | Framework | Status |
|
||||
|------|-----------|--------|
|
||||
| `test/browser-e2e.test.ts` | agent-browser | ✅ Working |
|
||||
| `test/browser-playwright.test.ts` | Playwright | ⚠️ Vitest hook issues |
|
||||
| `test/browser-puppeteer.test.ts` | Puppeteer | ⚠️ Vitest hook issues |
|
||||
| `test/browser-agent.test.ts` | agent-browser | ⚠️ Vitest hook issues |
|
||||
| `test/*.browser.test.ts` and the other files in `BROWSER_TEST_GLOBS` (`config/test-suites.ts`) | Playwright | ✅ `npm run test:browser` |
|
||||
| `test/mobile/**` | Playwright | ✅ `npm run test:mobile` |
|
||||
| `scripts/browser-comparison.mjs` | All three | ✅ Working (standalone) |
|
||||
|
||||
## Framework-Specific Patterns
|
||||
|
||||
Reference in new issue
Block a user