super-productivity/.github
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
..
ISSUE_TEMPLATE build: update links to match our new organization 2026-01-05 14:45:06 +01:00
workflows fix(e2e): add robust overlay cleanup to prevent blocked clicks 2026-01-16 22:34:49 +01:00
CODE_OF_CONDUCT.md docs: add code of conduct 2021-09-20 13:04:44 +02:00
CONTRIBUTING.md docs: add contributing 2019-09-10 13:20:07 +02:00
dependabot.yml refactor: make prettier work for angular 2025-02-21 14:31:22 +01:00
FUNDING.yml Create FUNDING.yml 2020-05-05 12:34:24 +02:00