super-productivity/e2e/tests/worklog
Johannes Millan c13e8ee25b test(e2e): fix worklog finish-day navigation race #8033
The worklog 'show worklog after completing tasks' test waited on
waitForSelector('task-list') after Save & go home, but daily-summary
renders its own task-list (planner-day), so that resolved immediately
without waiting for finishDay's deferred router.navigate(['/active/tasks']).
The test then went to /history and the pending redirect clobbered it,
so .week-row never rendered (timeout, screenshot showed Today).

Apply the proven sibling pattern (commit 5c73ec6): gate Save on
waitForURL(TODAY/tasks) before navigating to History, assert the
History URL, and expand via .day-toggle with an aria-expanded check.
2026-06-06 20:09:59 +02:00
..
worklog-basic.spec.ts test(e2e): fix worklog finish-day navigation race #8033 2026-06-06 20:09:59 +02:00