vikunja/frontend/tests/e2e
kolaente 0e17556a16 fix(editor): make link prompt a sub-modal — Escape cancels it without closing the task dialog
Review point (#2950, comment 3444116036): when the surrounding task
<dialog> closed while the link prompt was open, the prompt was orphaned
and cleanup() never ran, leaking listeners and an unresolved promise.

Treat the prompt as a sub-modal of the task dialog: pressing Escape while
it is open now preventDefault()/stopPropagation()s the keydown so the
native modal <dialog> does not close on Escape, resolves the prompt with
'' (cancel) and runs cleanup() — only the prompt is dismissed, the task
dialog stays open. A one-shot 'cancel' listener on the enclosing dialog
backs this up in case the keydown handling is insufficient in some browser.

Tighten cleanup() so the prompt fully tears down regardless of how it
closes (Enter / Escape / click-outside): it now removes the scroll
listener, the document click listener and the dialog cancel listener, and
removes the element. handleClickOutside was hoisted so cleanup() can
remove it, closing the leaked-listener gap directly.

Adds an e2e asserting Escape cancels the prompt while the task dialog
stays open; the existing 'Enter creates the link' case still passes.
2026-06-19 20:14:19 +00:00
..
admin test(admin): add e2e tests for admin panel 2026-04-20 18:55:06 +00:00
editor fix(editor): make link prompt a sub-modal — Escape cancels it without closing the task dialog 2026-06-19 20:14:19 +00:00
filters chore: remove redundant truncate calls now that all tables are wiped before each test 2026-04-05 09:48:09 +00:00
misc feat: merge duplicate notifications (#2056) 2026-01-06 17:36:29 +00:00
project fix(views): persist list/table sort across sidebar navigation (#2778) 2026-06-19 22:08:06 +02:00
sharing test(e2e): cover link share permission tiers 2026-04-21 10:50:09 +00:00
task test(e2e): cover comment replies end-to-end 2026-05-20 21:02:14 +00:00
time-tracking test(time-tracking): add end-to-end coverage 2026-06-08 13:54:09 +00:00
user fix(auth): preserve desktop authorize URL when not signed in (#2944) 2026-06-19 19:50:47 +02:00
websocket test: add WebSocket e2e tests 2026-04-02 16:30:23 +00:00