super-productivity/e2e/tests
Johannes Millan d7e5be08b5
test(e2e): harden flaky auto-start-focus-on-play via hash nav (#7953)
Run #3925 (Build All & Release on master) failed solely on
auto-start-focus-on-play.spec.ts:53 — every other test passed and the
merged commit (local-backup) is unrelated to focus mode, so this is a
flake, not a regression.

The test enabled `autoStartFocusOnPlay` in Settings and then did a hard
`page.goto('/')` reload before pressing play. A full reload re-bootstraps
the app and re-reads the config from IndexedDB, which races the debounced
persistence of the toggle we just flipped: if the write hasn't flushed,
the reloaded app boots with the setting OFF, `syncTrackingStartToSession$`
early-returns, and the focus indicator never spawns — a flake no expect
timeout can fix.

Switch to a same-document hash navigation (`/#/tag/TODAY/tasks`, the
pattern already used by `navigateToMiscSettings`). This preserves the
in-memory NgRx config the toggle updated synchronously, so the test
exercises the auto-start behavior without depending on persistence timing.

Co-authored-by: Claude <noreply@anthropic.com>
2026-06-02 15:24:47 +02:00
..
add-task-bar refactor(e2e): extract ensureGlobalAddTaskBarOpen helper to reduce code duplication 2026-01-16 13:35:59 +01:00
app-features fix(i18n): boot with bundled English when translation fetch fails offline (#7854) (#7875) 2026-06-01 13:15:33 +02:00
autocomplete Merge branch 'master' into feat/operation-logs 2026-01-03 18:51:51 +01:00
boards test(e2e): tighten boards #7498 regression specs 2026-05-06 21:37:06 +02:00
break test(e2e): use correct route /#/tag/TODAY/tasks instead of /#/tag/TODAY 2026-03-15 18:48:00 +01:00
daily-summary - fix(archive): also normalize malformed timeTracking field (#7487) 2026-05-05 15:41:25 +02:00
focus-mode test(e2e): harden flaky auto-start-focus-on-play via hash nav (#7953) 2026-06-02 15:24:47 +02:00
import-export test(e2e): strengthen assertions across reviewed specs (#7747) 2026-05-23 13:40:17 +02:00
issue-provider-panel test(e2e): strengthen assertions across reviewed specs (#7747) 2026-05-23 13:40:17 +02:00
keyboard test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
menu chore: address code review feedback 2026-01-15 10:57:43 +01:00
migration test(e2e): drop dead onboarding preset-click fallback in fresh-start test 2026-06-01 18:58:02 +02:00
navigation test(e2e): use correct route /#/tag/TODAY/tasks instead of /#/tag/TODAY 2026-03-15 18:48:00 +01:00
notes fix(note): linkify URLs in locked notes so markdown links stay clickable 2026-04-16 19:47:52 +02:00
performance test(e2e): disable failing for now 2025-09-21 00:59:11 +02:00
planner test(e2e): stabilize task visibility specs 2026-05-13 16:27:31 +02:00
plugins perf(plugins): skip no-op doc-mode saves + rename to doc-mode (#7825) 2026-05-27 17:30:38 +02:00
project test(e2e): fix done-toggle selector to use element instead of class 2026-03-24 16:25:42 +01:00
recurring test(e2e): harden flaky recurring move-start-date-earlier #7724 spec (#7929) 2026-06-01 22:05:11 +02:00
reminders fix(electron): retry Wayland idle helper startup (#7527) 2026-05-10 22:35:33 +02:00
schedule test(e2e): strengthen assertions across reviewed specs (#7747) 2026-05-23 13:40:17 +02:00
search improve E2E test reliability and add snapshotOpType interface param 2026-01-27 20:55:30 +01:00
settings test(e2e): strengthen assertions across reviewed specs (#7747) 2026-05-23 13:40:17 +02:00
short-syntax refactor(e2e): replace waitForTimeout with condition-based waits 2026-01-03 15:29:38 +01:00
sync test(e2e): scope supersync backup-revert DB restore to test user 2026-06-01 16:33:18 +02:00
tags test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
task-basic test(e2e): fix done-toggle selector to use element instead of class 2026-03-24 16:25:42 +01:00
task-detail test(e2e): update Show/hide task panel button label (#7260) 2026-04-17 22:19:22 +02:00
task-dragdrop test(e2e): fix done-toggle selector to use element instead of class 2026-03-24 16:25:42 +01:00
task-list-basic test(e2e): fix done-toggle selector to use element instead of class 2026-03-24 16:25:42 +01:00
work-view test(e2e): de-flake three scheduled-run E2E failures (#7862) 2026-06-01 14:31:26 +02:00
workflow test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
worklog test(e2e): add comprehensive E2E test coverage for core features 2026-01-12 15:11:27 +01:00
all-basic-routes-without-error.spec.ts refactor(e2e): replace waitForTimeout with condition-based waits 2026-01-03 15:29:38 +01:00