diff --git a/archive/2026-06-test-cleanup/MANIFEST.md b/archive/2026-06-test-cleanup/MANIFEST.md new file mode 100644 index 00000000..b29e38c0 --- /dev/null +++ b/archive/2026-06-test-cleanup/MANIFEST.md @@ -0,0 +1,66 @@ +# Archived test files — 2026-06 test-tree cleanup + +**Status: flagged for deletion.** These were identified as dead / stale / duplicate +/ placeholder during the clean-tree test refactor (see `docs/test-tree-refactor-plan.json`). +They are **archived, not deleted**, so we can mine them for any salvageable code, +selectors, or test data before removing them for good. Original repo-relative paths +are preserved under this folder. Nothing here is run by Playwright, vitest, CI, or +any npm script (references were repointed when these moved). + +When you're satisfied nothing of value remains, delete `archive/2026-06-test-cleanup/`. + +## E2E specs (redundant / stale / placeholder) +| file | why archived | +| --- | --- | +| tests/e2e/auth-basic-test.spec.ts | redundant admin-login; covered by form-validation/mobile-audit | +| tests/e2e/auth-system-test.spec.ts | vague auth validation; form-validation is more specific | +| tests/e2e/add-node.spec.ts | overlaps the user-smoke grow flow | +| tests/e2e/comprehensive-interaction.spec.ts | vague exploratory; overlaps diagnostics core-matrix | +| tests/e2e/comprehensive-graph-operations.spec.ts | vague; overlaps living-graph + real-time | +| tests/e2e/database-connectivity.spec.ts | Neo4j-only failure path obsolete under D1-first arch | +| tests/e2e/fix-left-click-refresh.spec.ts | one-off bug proof, untagged, unreferenced | +| tests/e2e/flash-detection.spec.ts | exploratory, untagged; overlaps showcase | +| tests/e2e/graph-error-handling.spec.ts | data template, not a real test; schema-mismatched | +| tests/e2e/graph-real-time-updates.spec.ts | unclear purpose; overlaps living-graph | +| tests/e2e/manual-test.spec.ts | manual placeholder, no assertions | +| tests/e2e/neo4j-core-functionality.spec.ts | redundant with @core; untagged | +| tests/e2e/neo4j-working-demo.spec.ts | old demo proof; overlaps user-smoke | +| tests/e2e/oauth-linkedin.spec.ts | stale OAuth provider (magic-link now); mock/fixtures retained for admin spec | +| tests/e2e/project-name-verification.spec.ts | exploratory naming check, untagged | +| tests/e2e/screenshot-current-graph.spec.ts | documentation artifact; overlaps showcase | +| tests/e2e/simple-error-test.spec.ts | template placeholder, no real assertions | +| tests/e2e/ui-basic-functionality.spec.ts | vague; overlaps responsive | +| tests/e2e/user-workflow.spec.ts | overlaps user-smoke/basic-workflow, untagged | +| tests/e2e/user-workflow-robust.spec.ts | overlaps user-smoke, untagged | +| tests/e2e/verify-improved-visualization.spec.ts | old proof; overlaps user-smoke/showcase | +| tests/e2e/verify-ui-data.spec.ts | generic proof, no real assertions | +| tests/e2e/workspace-scrolling.spec.ts | old issue proof, no real assertions | + +## Loose runners / debug scripts / configs (superseded) +| file | why archived | +| --- | --- | +| tests/run-all-tests.js | replaced by tests/run-unified.mjs (npm run test:comprehensive → unified) | +| tests/run-pr-tests.js | replaced by tests/run-unified.mjs --profile pr | +| tests/ci-basic-tests.js | mock-only fake results; CI runs real Playwright now | +| tests/quick-auth-test.js | manual debug tool, hardcoded creds | +| tests/simple-login-test.js | manual debug tool, infinite wait | +| tests/manual-graph-operations-test.js | manual debug tool | +| tests/realtime-update-test.js | manual debug tool | +| tests/test-production-scrolling.js | manual debug tool, hardcoded :3128 | +| tests/test-refresh-bugs.js | manual debug tool | +| tests/https-browser-compatibility-test.js | overlaps ported TLS specs; unreferenced | +| tests/global-setup-production.js | dead binding (only the production config referenced it) | +| tests/playwright.config.ts | duplicate config, referenced by nothing | +| tests/playwright.config.production.ts | settings to be folded into root config | + +## Redundant shell scripts +| file | why archived | +| --- | --- | +| scripts/generate-final-report.sh | duplicate installation-report generator (keep generate-clean-report.sh) | +| scripts/generate-comprehensive-report.sh | duplicate installation-report generator | +| scripts/test-cert-security.sh | stale, not in CI; covered by test-tls.sh | +| scripts/test-installation-demo.sh | duplicate of test-installation-simple.sh | +| scripts/test-installation-full.sh | duplicate of test-installation-simple.sh | +| scripts/test-installation-functional.sh | duplicate of test-installation-simple.sh | +| scripts/test-installation-macos.sh | single-platform, not in CI | +| scripts/test-installation-multi-distro.sh | deprecated; Docker approach in test-installation-simple.sh | diff --git a/scripts/generate-comprehensive-report.sh b/archive/2026-06-test-cleanup/scripts/generate-comprehensive-report.sh similarity index 100% rename from scripts/generate-comprehensive-report.sh rename to archive/2026-06-test-cleanup/scripts/generate-comprehensive-report.sh diff --git a/scripts/generate-final-report.sh b/archive/2026-06-test-cleanup/scripts/generate-final-report.sh similarity index 100% rename from scripts/generate-final-report.sh rename to archive/2026-06-test-cleanup/scripts/generate-final-report.sh diff --git a/scripts/test-cert-security.sh b/archive/2026-06-test-cleanup/scripts/test-cert-security.sh similarity index 100% rename from scripts/test-cert-security.sh rename to archive/2026-06-test-cleanup/scripts/test-cert-security.sh diff --git a/scripts/test-installation-demo.sh b/archive/2026-06-test-cleanup/scripts/test-installation-demo.sh similarity index 100% rename from scripts/test-installation-demo.sh rename to archive/2026-06-test-cleanup/scripts/test-installation-demo.sh diff --git a/scripts/test-installation-full.sh b/archive/2026-06-test-cleanup/scripts/test-installation-full.sh similarity index 100% rename from scripts/test-installation-full.sh rename to archive/2026-06-test-cleanup/scripts/test-installation-full.sh diff --git a/scripts/test-installation-functional.sh b/archive/2026-06-test-cleanup/scripts/test-installation-functional.sh similarity index 100% rename from scripts/test-installation-functional.sh rename to archive/2026-06-test-cleanup/scripts/test-installation-functional.sh diff --git a/scripts/test-installation-macos.sh b/archive/2026-06-test-cleanup/scripts/test-installation-macos.sh similarity index 100% rename from scripts/test-installation-macos.sh rename to archive/2026-06-test-cleanup/scripts/test-installation-macos.sh diff --git a/scripts/test-installation-multi-distro.sh b/archive/2026-06-test-cleanup/scripts/test-installation-multi-distro.sh similarity index 100% rename from scripts/test-installation-multi-distro.sh rename to archive/2026-06-test-cleanup/scripts/test-installation-multi-distro.sh diff --git a/tests/ci-basic-tests.js b/archive/2026-06-test-cleanup/tests/ci-basic-tests.js similarity index 100% rename from tests/ci-basic-tests.js rename to archive/2026-06-test-cleanup/tests/ci-basic-tests.js diff --git a/tests/e2e/add-node.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/add-node.spec.ts similarity index 100% rename from tests/e2e/add-node.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/add-node.spec.ts diff --git a/tests/e2e/auth-basic-test.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/auth-basic-test.spec.ts similarity index 100% rename from tests/e2e/auth-basic-test.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/auth-basic-test.spec.ts diff --git a/tests/e2e/auth-system-test.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/auth-system-test.spec.ts similarity index 100% rename from tests/e2e/auth-system-test.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/auth-system-test.spec.ts diff --git a/tests/e2e/comprehensive-graph-operations.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/comprehensive-graph-operations.spec.ts similarity index 100% rename from tests/e2e/comprehensive-graph-operations.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/comprehensive-graph-operations.spec.ts diff --git a/tests/e2e/comprehensive-interaction.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/comprehensive-interaction.spec.ts similarity index 100% rename from tests/e2e/comprehensive-interaction.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/comprehensive-interaction.spec.ts diff --git a/tests/e2e/database-connectivity.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/database-connectivity.spec.ts similarity index 100% rename from tests/e2e/database-connectivity.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/database-connectivity.spec.ts diff --git a/tests/e2e/fix-left-click-refresh.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/fix-left-click-refresh.spec.ts similarity index 100% rename from tests/e2e/fix-left-click-refresh.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/fix-left-click-refresh.spec.ts diff --git a/tests/e2e/flash-detection.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/flash-detection.spec.ts similarity index 100% rename from tests/e2e/flash-detection.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/flash-detection.spec.ts diff --git a/tests/e2e/graph-error-handling.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/graph-error-handling.spec.ts similarity index 100% rename from tests/e2e/graph-error-handling.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/graph-error-handling.spec.ts diff --git a/tests/e2e/graph-real-time-updates.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/graph-real-time-updates.spec.ts similarity index 100% rename from tests/e2e/graph-real-time-updates.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/graph-real-time-updates.spec.ts diff --git a/tests/e2e/manual-test.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/manual-test.spec.ts similarity index 100% rename from tests/e2e/manual-test.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/manual-test.spec.ts diff --git a/tests/e2e/neo4j-core-functionality.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/neo4j-core-functionality.spec.ts similarity index 100% rename from tests/e2e/neo4j-core-functionality.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/neo4j-core-functionality.spec.ts diff --git a/tests/e2e/neo4j-working-demo.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/neo4j-working-demo.spec.ts similarity index 100% rename from tests/e2e/neo4j-working-demo.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/neo4j-working-demo.spec.ts diff --git a/tests/e2e/oauth-linkedin.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/oauth-linkedin.spec.ts similarity index 100% rename from tests/e2e/oauth-linkedin.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/oauth-linkedin.spec.ts diff --git a/tests/e2e/project-name-verification.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/project-name-verification.spec.ts similarity index 100% rename from tests/e2e/project-name-verification.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/project-name-verification.spec.ts diff --git a/tests/e2e/screenshot-current-graph.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/screenshot-current-graph.spec.ts similarity index 100% rename from tests/e2e/screenshot-current-graph.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/screenshot-current-graph.spec.ts diff --git a/tests/e2e/simple-error-test.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/simple-error-test.spec.ts similarity index 100% rename from tests/e2e/simple-error-test.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/simple-error-test.spec.ts diff --git a/tests/e2e/ui-basic-functionality.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/ui-basic-functionality.spec.ts similarity index 100% rename from tests/e2e/ui-basic-functionality.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/ui-basic-functionality.spec.ts diff --git a/tests/e2e/user-workflow-robust.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/user-workflow-robust.spec.ts similarity index 100% rename from tests/e2e/user-workflow-robust.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/user-workflow-robust.spec.ts diff --git a/tests/e2e/user-workflow.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/user-workflow.spec.ts similarity index 100% rename from tests/e2e/user-workflow.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/user-workflow.spec.ts diff --git a/tests/e2e/verify-improved-visualization.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/verify-improved-visualization.spec.ts similarity index 100% rename from tests/e2e/verify-improved-visualization.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/verify-improved-visualization.spec.ts diff --git a/tests/e2e/verify-ui-data.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/verify-ui-data.spec.ts similarity index 100% rename from tests/e2e/verify-ui-data.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/verify-ui-data.spec.ts diff --git a/tests/e2e/workspace-scrolling.spec.ts b/archive/2026-06-test-cleanup/tests/e2e/workspace-scrolling.spec.ts similarity index 100% rename from tests/e2e/workspace-scrolling.spec.ts rename to archive/2026-06-test-cleanup/tests/e2e/workspace-scrolling.spec.ts diff --git a/tests/global-setup-production.js b/archive/2026-06-test-cleanup/tests/global-setup-production.js similarity index 100% rename from tests/global-setup-production.js rename to archive/2026-06-test-cleanup/tests/global-setup-production.js diff --git a/tests/https-browser-compatibility-test.js b/archive/2026-06-test-cleanup/tests/https-browser-compatibility-test.js similarity index 100% rename from tests/https-browser-compatibility-test.js rename to archive/2026-06-test-cleanup/tests/https-browser-compatibility-test.js diff --git a/tests/manual-graph-operations-test.js b/archive/2026-06-test-cleanup/tests/manual-graph-operations-test.js similarity index 100% rename from tests/manual-graph-operations-test.js rename to archive/2026-06-test-cleanup/tests/manual-graph-operations-test.js diff --git a/tests/playwright.config.production.ts b/archive/2026-06-test-cleanup/tests/playwright.config.production.ts similarity index 100% rename from tests/playwright.config.production.ts rename to archive/2026-06-test-cleanup/tests/playwright.config.production.ts diff --git a/tests/playwright.config.ts b/archive/2026-06-test-cleanup/tests/playwright.config.ts similarity index 100% rename from tests/playwright.config.ts rename to archive/2026-06-test-cleanup/tests/playwright.config.ts diff --git a/tests/quick-auth-test.js b/archive/2026-06-test-cleanup/tests/quick-auth-test.js similarity index 100% rename from tests/quick-auth-test.js rename to archive/2026-06-test-cleanup/tests/quick-auth-test.js diff --git a/tests/realtime-update-test.js b/archive/2026-06-test-cleanup/tests/realtime-update-test.js similarity index 100% rename from tests/realtime-update-test.js rename to archive/2026-06-test-cleanup/tests/realtime-update-test.js diff --git a/tests/run-all-tests.js b/archive/2026-06-test-cleanup/tests/run-all-tests.js similarity index 100% rename from tests/run-all-tests.js rename to archive/2026-06-test-cleanup/tests/run-all-tests.js diff --git a/tests/run-pr-tests.js b/archive/2026-06-test-cleanup/tests/run-pr-tests.js similarity index 100% rename from tests/run-pr-tests.js rename to archive/2026-06-test-cleanup/tests/run-pr-tests.js diff --git a/tests/simple-login-test.js b/archive/2026-06-test-cleanup/tests/simple-login-test.js similarity index 100% rename from tests/simple-login-test.js rename to archive/2026-06-test-cleanup/tests/simple-login-test.js diff --git a/tests/test-production-scrolling.js b/archive/2026-06-test-cleanup/tests/test-production-scrolling.js similarity index 100% rename from tests/test-production-scrolling.js rename to archive/2026-06-test-cleanup/tests/test-production-scrolling.js diff --git a/tests/test-refresh-bugs.js b/archive/2026-06-test-cleanup/tests/test-refresh-bugs.js similarity index 100% rename from tests/test-refresh-bugs.js rename to archive/2026-06-test-cleanup/tests/test-refresh-bugs.js diff --git a/package.json b/package.json index 8669591c..d070c4bb 100644 --- a/package.json +++ b/package.json @@ -17,13 +17,12 @@ "test:coverage": "turbo run test:coverage", "test:e2e": "playwright test", "test:e2e:core": "playwright test --grep=\"@core\"", - "test:e2e:error-handling": "playwright test tests/e2e/graph-error-handling.spec.ts", "test:e2e:visual": "playwright test tests/e2e/visual-regression-suite.spec.ts", "test:e2e:ui": "playwright test --ui", "test:e2e:debug": "playwright test --debug", "test:all": "npm run test:unit && npm run test:e2e", - "test:comprehensive": "node tests/run-all-tests.js", - "test:pr": "node tests/run-pr-tests.js", + "test:comprehensive": "node tests/run-unified.mjs --profile full", + "test:pr": "node tests/run-unified.mjs --profile pr", "test:unified": "node tests/run-unified.mjs --profile full", "test:unified:smoke": "node tests/run-unified.mjs --profile smoke", "test:unified:open": "node tests/run-unified.mjs --profile full --open",