joplock/tests
igor 08e42d5227 feat(editor): image/attachment lightbox, blank-line padding, round-trip + save-state fixes
- Double-click an image or viewable attachment in desktop rendered/preview mode
  opens an in-app lightbox (images + pdf + text); Esc/Close dismiss. Desktop
  single-click open removed.
- Dropped/pasted attachments (images AND documents) get a blank, deletable line
  before and after so stacked attachments stay individually removable; rendered
  mode uses the round-trip-safe md-blank-line marker.
- Fix: blank line inside a fenced code block was deleted on markdown<->render
  switches (heading-gap collapse treated a C #include as a heading); now masked
  around fenced code (_applyHeadingSpacing).
- Fix: switching render->markdown no longer marks an unchanged note "Edited"
  (reconcile save state after the content round-trip; genuine pending saves
  preserved).
- Tests never leave data: teardownTestData() purges notebooks + their notes +
  orphaned resources; global-teardown safety net sweeps test-prefixed leftovers;
  GET /api/web/notes/headers now returns parentId. Verified zero DB accumulation
  across repeated runs.
- Bump service worker cache to v43.
- Stale Playwright assertions fixed (#note-body -> .cm-content, custom code
  modal instead of TinyMCE codesample dialog).
2026-07-08 15:01:31 +12:00
..
adminService.test.js retry admin bootstrap until Joplin Server DB is ready on fresh install 2026-05-20 13:20:13 +12:00
appRuntime.test.js feat(editor): image/attachment lightbox, blank-line padding, round-trip + save-state fixes 2026-07-08 15:01:31 +12:00
backupService.test.js add backup delete action and explicit compression modes 2026-05-20 23:13:18 +12:00
cm6MarkdownMode.test.js feat(editor): image/attachment lightbox, blank-line padding, round-trip + save-state fixes 2026-07-08 15:01:31 +12:00
cookies.test.js fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
createServer.test.js feat(editor): image/attachment lightbox, blank-line padding, round-trip + save-state fixes 2026-07-08 15:01:31 +12:00
env.test.js Add recovery backups and fix theme/title edge cases 2026-05-18 19:34:06 +12:00
expanderRuntime.test.js feat(editor): dual-mode editor — CodeMirror 6 markdown + TinyMCE 8 rendered 2026-07-06 17:00:57 +12:00
historyService.test.js fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
itemService.test.js Add vault/notebook encryption: client-side AES-256-GCM E2EE with SVG lock icons, mobile vault support, startup resume gate, and re-entry guard 2026-04-28 22:25:46 +12:00
itemWriteService.test.js fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
markdownToolbarClicks.test.js feat(editor): dual-mode editor — CodeMirror 6 markdown + TinyMCE 8 rendered 2026-07-06 17:00:57 +12:00
mfaService.test.js Refactor route rendering and harden editor session handling 2026-04-27 00:24:23 +12:00
previewRoundTrip.test.js feat(editor): image/attachment lightbox, blank-line padding, round-trip + save-state fixes 2026-07-08 15:01:31 +12:00
proxyVaultGuard.test.js enforce vault note encryption at Joplin Server proxy layer 2026-05-21 16:09:09 +12:00
recoveryService.test.js Add recovery backups and fix theme/title edge cases 2026-05-18 19:34:06 +12:00
searchHighlight.test.js fix(search): restore in-note search highlight for rendered (TinyMCE) mode + two-stage Esc 2026-07-08 09:47:00 +12:00
sessionService.test.js Fix session timeout by removing hardcoded 12h TTL and making login cookies session-scoped 2026-06-17 13:09:27 +12:00
settingsService.test.js Add Grey, Fruit, and Dark Fruit themes 2026-07-07 21:18:46 +12:00
templates.test.js feat(editor): image/attachment lightbox, blank-line padding, round-trip + save-state fixes 2026-07-08 15:01:31 +12:00
vaultService.test.js Add vault/notebook encryption: client-side AES-256-GCM E2EE with SVG lock icons, mobile vault support, startup resume gate, and re-entry guard 2026-04-28 22:25:46 +12:00