towerops/test/support/fixtures
Graham McIntire 0cd2ed3567
feat: add on-call schedules and escalation policies
Built-in PagerDuty-equivalent system for on-call scheduling and alert
escalation. Users can now manage schedules, rotation layers, overrides,
and escalation policies directly in the app alongside PagerDuty.

- On-call schedules with rotation layers (daily/weekly/custom), member
  management, and temporary overrides
- Escalation policies with ordered rules, timeout-based escalation,
  and user/schedule targets
- Automatic escalation via Oban worker with configurable repeat count
- Email notifications via Swoosh for on-call alerts
- Resolver computes who's on-call from layer stacking and overrides
- AlertNotificationWorker integration: starts escalation alongside
  PagerDuty, acknowledges/resolves incidents on alert state changes
- Device and organization schemas support escalation_policy_id
- Escalation policy picker on device form
- Schedules nav item with tabbed index (schedules + escalation policies)
- Full CRUD UI for schedules, layers, members, overrides, rules, targets
- 62 LiveView tests, 56 context/schema/resolver/escalation tests
- 26 E2E Playwright tests for smoke and critical path coverage
2026-03-11 12:32:54 -05:00
..
accounts_fixtures.ex perf(tests): disable TOTP by default in fixtures for faster tests 2026-03-06 07:21:52 -06:00
accounts_fixtures_test.exs remove passkeys for now 2026-01-31 09:50:35 -06:00
agents_fixtures.ex rename equipment to device 2026-01-17 14:48:46 -06:00
agents_fixtures_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
billing_fixtures.ex stripe and email after signup 2026-03-06 10:07:27 -06:00
devices_fixtures.ex test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures 2026-03-10 12:36:07 -05:00
gaiia_fixtures.ex test: fix all compile warnings in subscriber matching tests 2026-03-10 13:02:32 -05:00
integrations_fixtures.ex add integrations test fixture 2026-02-12 17:03:00 -06:00
jobs_fixtures.ex more tests and fixes 2026-02-07 11:50:18 -06:00
on_call_fixtures.ex feat: add on-call schedules and escalation policies 2026-03-11 12:32:54 -05:00
organizations_fixtures.ex test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures 2026-03-10 12:36:07 -05:00
organizations_fixtures_test.exs Add tests for OrganizationsFixtures 2026-01-13 08:59:40 -06:00
snmp_fixtures.ex test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures 2026-03-10 12:36:07 -05:00