mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
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 |
||
|---|---|---|
| .. | ||
| base.page.ts | ||
| dialog.page.ts | ||
| import.page.ts | ||
| index.ts | ||
| note.page.ts | ||
| planner.page.ts | ||
| project.page.ts | ||
| schedule.page.ts | ||
| settings.page.ts | ||
| side-nav.page.ts | ||
| supersync.page.ts | ||
| sync.page.ts | ||
| tag.page.ts | ||
| task.page.ts | ||
| work-view.page.ts | ||