Skip to content

fix(e2e): alert-rules, live-stream, and delete-modal tests failing after PR #2436 #2439

@tphakala

Description

@tphakala

Summary

13 e2e tests are failing after commit 129e681 (PR #2436 - rebuild datastore name maps on BirdNET locale change) was merged to main. These failures cause the e2e workflow to time out because each failure retries twice.

Failing tests

settings/alert-rules.spec.ts (8 failures):

  • filter dropdowns are visible
  • rules list loads and displays rule cards
  • no duplicate key errors when rules load
  • built-in rules show badge
  • export and import alert rules
  • CRUD operations work end-to-end
  • rule cards display trigger, conditions, actions, and cooldown info
  • rule cards have action buttons (edit, toggle, test, delete)

live-stream/live-stream.spec.ts (3 failures):

  • Route loads and renders page structure
  • Page has spectrogram canvas container
  • Page fills viewport height without scrollbar

notifications/delete-modal.spec.ts (2 failures):

  • escape key closes modal
  • delete button removes notification

Impact

With 2 retries per test and 15-60s expect timeouts, these 13 failures consume ~6+ minutes of the 7-minute step timeout, causing the entire workflow to time out before completing.

Evidence

Run https://github.com/tphakala/birdnet-go/actions/runs/23355231531 — test artifacts show all 13 failures with retry directories. The progress line confirms dashboard/smoke/auth/error-handling tests pass (34 dots), only these tests fail.

How to reproduce

Run npx playwright test --project=chromium against current main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendWeb UI and frontend issuestest-failureIssues related to failing unit tests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions