super-productivity/e2e/tests/work-view
Johannes Millan eeb14c661f test(e2e): stabilize detail-panel arrow-key nav against focus race
Opening the detail panel schedules a deferred auto-focus that can land
after taskB.focus() and pull focus into the panel; a lone ArrowDown is
then swallowed (focusNext() reads document.activeElement, finds no task
row, and stays put). Wrap focus+keypress+assert as a retried unit via
expect(...).toPass() on both arrow-key tests so a lost keypress re-fires.

Verified 40/40 (5 tests x 8 repeats) locally.
2026-06-05 12:29:08 +02:00
..
add-to-today.spec.ts test(e2e): fix add-to-today subtask tests 2026-01-16 22:34:50 +01:00
detail-panel-focus.spec.ts test(e2e): stabilize detail-panel arrow-key nav against focus race 2026-06-05 12:29:08 +02:00
sections.spec.ts test(e2e): de-flake three scheduled-run E2E failures (#7862) 2026-06-01 14:31:26 +02:00
work-view-features.spec.ts test(e2e): fix done-toggle selector to use element instead of class 2026-03-24 16:25:42 +01:00
work-view.spec.ts refactor(e2e): improve 2026-01-06 12:46:20 +01:00