test(10-05): Wave 0 keyboard + OS-drag + drag-to-move stubs (UX-05..09, UX-11)

- keyboard.test.js: 11 it.todo stubs for UX-05 search focus, UX-06 escape clear, UX-07 upload picker, UX-08 new folder
- OsDragOverlay.test.js: 7 it.todo stubs for UX-09 OS file drag overlay depth-counter + teleport
- StorageBrowser.dragmove.test.js: 6 it.todo stubs for UX-11 drag-to-move ring highlight + toast wiring
This commit is contained in:
curo1305
2026-06-15 20:12:39 +02:00
parent 75970352fc
commit 794ff42bf5
3 changed files with 48 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { describe, it } from 'vitest'
describe('UX-05: "/" focuses the search bar', () => {
it.todo('dispatching keydown "/" calls focus() on SearchBar input via App.vue routeViewRef chain')
it.todo('"/" does NOT redirect when an INPUT element has focus (guard: document.activeElement.tagName)')
})
describe('UX-06: "Escape" clears active search (when no input focused)', () => {
it.todo('keydown Escape clears searchQuery via FileManagerView.clearSearch()')
it.todo('Escape does NOT clear search while inside a focused INPUT')
it.todo('Escape does NOT double-trigger when DocumentPreviewModal is open (modal owns its Escape handler)')
})
describe('UX-07: "U" triggers the upload picker', () => {
it.todo('keydown "u" calls DropZone.triggerInput() through the ref chain (App→FileManagerView→StorageBrowser→DropZone)')
it.todo('"U" does NOT fire when input is focused')
it.todo('"U" is a no-op on routes that do not expose triggerUpload (optional chain)')
})
describe('UX-08: "N" starts new folder input', () => {
it.todo('keydown "n" calls StorageBrowser.startNewFolder() via ref chain')
it.todo('"N" does NOT fire when input is focused')
it.todo('"N" is a no-op on CloudFolderView (does not expose startNewFolder)')
})