7 Commits

Author SHA1 Message Date
lucaronin
fbbd53d204 test: restore smoke flows after Claude onboarding 2026-04-12 20:10:01 +02:00
lucaronin
08672dbf59 test: increase Playwright timeout from 15s to 20s (reduce flaky failures)
The 15s timeout was too tight for the dev server under concurrent test
load, causing widespread toBeVisible failures on first attempt across
40+ smoke tests. Increasing to 20s gives the dev server adequate time
to render without masking real regressions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 14:52:04 +01:00
lucaronin
90a3ff8194 refactor: flatten vault structure — simplify migration API and flatten demo vault
- Simplify flatten_vault API to return usize instead of MigrationResult struct
- Add KEEP_FOLDERS: attachments/ and _themes/ alongside type/, config/, theme/
- Use HashSet for collision tracking in unique_filename
- Update wikilinks from path-based [[folder/slug]] to title-based [[slug]]
- Clean up empty directories after flattening
- Flatten demo-vault-v2: move all notes from type-based subfolders to root
- Update smoke tests for flat vault structure
- Remove migrate_to_flat_vault from repair_vault (one-time migration only)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 23:40:47 +01:00
lucaronin
0755c4a8c0 fix: add 1 retry for Playwright smoke tests to handle server startup timing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 00:58:24 +01:00
lucaronin
b0b0464f99 feat: add Playwright smoke test infrastructure for task-scoped QA
Adds headless Chromium smoke tests that run before push, catching
UI/UX bugs before Brian QA. Includes shared helpers for command
palette and keyboard shortcut testing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 09:39:20 +01:00
lucaronin
9c49c3eea9 Add comprehensive E2E tests for all core flows (M5 Task 5)
17 new tests covering: open note in editor, sidebar filtering, search,
multiple tabs with switching/closing, inspector properties/relationships/
backlinks/git history, preview snippets, and full create note flow.
Fixed test isolation with workers=1. Total: 44 E2E + 44 unit tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 21:29:04 +01:00
lucaronin
7d5c48c2a8 Add unit and E2E tests for all panel components
- Vitest tests for Sidebar, NoteList, Inspector (7 tests)
- Playwright E2E tests verifying four-panel layout renders (2 tests)
- All tests passing: cargo test (10), pnpm test (7), pnpm test:e2e (2)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 18:25:11 +01:00