Skip to content

Add comprehensive E2E test coverage and UI tracking - #34

Merged
patchmemory merged 4 commits into
mainfrom
feat/comprehensive-e2e-test-coverage
Feb 5, 2026
Merged

Add comprehensive E2E test coverage and UI tracking#34
patchmemory merged 4 commits into
mainfrom
feat/comprehensive-e2e-test-coverage

Conversation

@patchmemory

Copy link
Copy Markdown
Owner

Summary

  • Added 89 new E2E tests across 8 test files (112 total tests passing)
  • Created automated UI coverage tracking tool (98.3% coverage achieved)
  • Reordered navigation: SciDK, Files, Labels, Links, Maps, Chats, Settings
  • Reduced test timeout from 30s to 10s for faster feedback

Test Coverage Added

  • chat.spec.ts (8 tests) - Chat page functionality
  • settings.spec.ts (14 tests) - Neo4j, interpreters, rclone configs
  • settings-advanced.spec.ts (3 tests) - Neo4j disconnect, interpreter toggles
  • map.spec.ts (15 tests) - Graph visualization and controls
  • files-browse.spec.ts (14 tests) - Provider browser controls
  • files-snapshot.spec.ts (17 tests) - Snapshot navigation and search
  • home.spec.ts (12 tests) - Home page search, chat, filters
  • links-advanced.spec.ts (6 tests) - API source, cypher, execute

Automation Tools

  • dev/scripts/ui_coverage_index.py - Automated UI coverage tracking
  • dev/test-coverage-index.md - Current coverage report (98.3%)
  • Documentation added to dev/prompts.md

Test plan

  • All 112 E2E tests passing
  • Test timeout reduced to 10s
  • Navigation reordered as specified
  • Coverage tracking automated
  • Dev submodule synced

🤖 Generated with Claude Code

patchmemory and others added 4 commits February 5, 2026 09:07
- Remove /plugins page, redirect to /settings#plugins
- Redirect /interpreters and /extensions to /settings#interpreters
- Remove redundant links from settings.html (already shows full info)
- Add Beta badge to Chat page header
- Update interpreters_page test to handle redirect
- Document Workbook page retention decision

Acceptance criteria met:
✅ Pages audited with documented status
✅ Plugins page removed, redirected to Settings
✅ Extensions/Interpreters routes redirect to Settings
✅ Workbook decision documented
✅ Internal links updated
✅ All tests passing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add 8 new E2E test suites achieving 98.3% UI coverage:
- chat.spec.ts: Chat form, API integration, history display (8 tests)
- files-browse.spec.ts: Provider browser controls (14 tests)
- files-snapshot.spec.ts: Snapshot navigation, search, pagination (17 tests)
- home.spec.ts: Search, chat, filters (12 tests)
- links-advanced.spec.ts: Advanced link features, API source, cypher (6 tests)
- map.spec.ts: Graph visualization, filters, exports (15 tests)
- settings-advanced.spec.ts: Neo4j disconnect, interpreter toggles (3 tests)
- settings.spec.ts: Settings page, Neo4j config, rclone (14 tests)

Changes:
- Reorder navigation: Files, Labels, Links, Maps, Chats, Settings
- Reduce test timeout from 30s to 10s for faster feedback
- Fix form submission tests to use button clicks vs evaluate()
- Add proper wizard navigation for Links/Labels tests
- Filter expected console errors (API 404s) in Settings tests
- Use getByTestId() selectors for reliability

Coverage by page:
- Chat: 100% (2/2 elements)
- Files: 100% (27/27 elements)
- Home: 100% (9/9 elements)
- Labels: 91.7% (22/24 elements)
- Links: 100% (24/24 elements - advanced features)
- Map: 100% (13/13 elements)
- Settings: 90% (18/20 elements)

All 112 E2E tests passing ✅

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@patchmemory
patchmemory merged commit 00d81d9 into main Feb 5, 2026
2 checks passed
@patchmemory
patchmemory deleted the feat/comprehensive-e2e-test-coverage branch February 5, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant