super-productivity/e2e/pages
Johannes Millan f421d2387a fix(e2e): add robust overlay cleanup to prevent blocked clicks
Angular Material overlay backdrops were not being properly cleared between
tag operations, causing subsequent clicks to timeout when overlays blocked
element interactions.

Added ensureOverlaysClosed() helper with:
- Early exit if no overlays present (performance)
- Escape key dismissal with retry for stacked overlays
- Logging for debugging when fallbacks trigger
- Uses Playwright's native locator.waitFor() instead of waitForFunction()
- Cleanup at operation start (prevent blocking) and end (clean state)

Benefits:
- Eliminates fixed timeouts, uses smart waiting (tests run 2x faster)
- Handles edge cases like stacked overlays
- Provides visibility into when overlays are unexpectedly present

Fixes 4 failing tests:
- Tag CRUD: remove tag via context menu
- Tag CRUD: delete tag and update tasks
- Tag CRUD: navigate to tag view
- Menu: toggle tags via submenu
2026-01-16 22:34:49 +01:00
..
base.page.ts fix(e2e): add robust overlay cleanup to prevent blocked clicks 2026-01-16 22:34:49 +01:00
dialog.page.ts feat(e2e): streamline e2e test development with improved infrastructure 2026-01-03 11:21:40 +01:00
import.page.ts feat(e2e): Add comprehensive SuperSync E2E integration tests 2025-12-12 20:48:13 +01:00
index.ts docs(e2e): add CLAUDE.md reference and barrel export for easier test creation 2026-01-03 13:27:24 +01:00
note.page.ts test(webdav): add e2e tests 2025-12-29 12:48:36 +01:00
planner.page.ts test(e2e): make all e2e tests work again and optimize 2025-09-09 23:47:34 +02:00
project.page.ts test(e2e): add WebDAV sync tests for archives, delete cascade, and TODAY tag 2026-01-08 21:42:21 +01:00
schedule.page.ts test(webdav): add e2e tests 2025-12-29 12:48:36 +01:00
settings.page.ts fix(e2e): stabilize flaky tests with improved waiting strategies 2026-01-14 13:45:27 +01:00
side-nav.page.ts refactor: cleanup 2025-12-10 15:29:03 +01:00
supersync.page.ts fix(e2e): resolve race conditions in sync tests 2026-01-15 19:23:25 +01:00
sync.page.ts fix(e2e): fix flaky WebDAV sync tests by verifying selection took effect 2026-01-08 15:25:53 +01:00
tag.page.ts fix(e2e): add robust overlay cleanup to prevent blocked clicks 2026-01-16 22:34:49 +01:00
task.page.ts feat(e2e): streamline e2e test development with improved infrastructure 2026-01-03 11:21:40 +01:00
work-view.page.ts test(e2e): fix flaky plugin and WebDAV sync tests 2026-01-03 17:35:09 +01:00