towerops/test/towerops_web/live
Graham McIntire 4ea64cb550 test: lift coverage from 85.84% → 86.28%
Adds focused tests across multiple modules to push toward the 87% threshold:

- CoreComponents: pagination/1 (multi-page, ellipsis, params),
  list/1 (slot rendering), and signal_badge/1 across all RSSI bands.
- ApiDocs/GraphQLDocs controllers: bypass-the-router pattern so the
  "scope-with-organization" branches are actually exercised (the public
  routes are unscoped, so the org branch is unreachable via get/2).
- Mix.Tasks.Unused: text + JSON output, --only / --skip filters.
- Mix.Tasks.JobCleanupTask: prod path with phoenix snmp enabled vs
  disabled (uses :job_cleanup_settle_ms = 0 to avoid the 1s sleep).
- Member resolver: success path for remove/update_role on non-owner
  membership, and the changeset-error branch for an invalid role.
- Check resolver: unauthenticated fallback clauses for list / get /
  create / update / delete.
- RfLinks: nil-signal sort ordering, :unknown classification for
  nil/nil signal+snr, :degraded filter, capacity_utilization edge
  cases (max_rate 0/missing, both rates nil).
- StatusHelpers: status_emoji + title_with_status across green / red
  branches (warning is unreachable given the active-alerts query).
- ApiTokens: spawn_async_update/2 path with env != :test.
- ImpactAnalysis: to_json/1 across nil and populated levels.
- Maintenance: query helpers (default-arity wrappers, active range)
  and Show LiveView delete event redirecting to /maintenance.
- Coverage map: probe_point event handler.
- InvitationQuery: default-arity pending/1.
2026-05-08 17:44:18 -05:00
..
account_live test: expand coverage for devices, workers, and LiveView modules 2026-02-12 09:06:41 -06:00
admin test: lift coverage 84.08% → 84.99%; exclude declarative modules from coverage 2026-05-08 11:18:26 -05:00
agent_live test: lift coverage 84.08% → 84.99%; exclude declarative modules from coverage 2026-05-08 11:18:26 -05:00
alert_live tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
check_live test: lift coverage 79.78% → 80.92%+ with broad new tests 2026-05-08 09:11:06 -05:00
components test: GlobalSearch keyboard nav + StatusPageLive mount + Coverages.Profile clutter polygons 2026-05-08 13:23:13 -05:00
coverage_live test: lift coverage from 85.84% → 86.28% 2026-05-08 17:44:18 -05:00
device_live test: more coverage across LiveViews (gaiia mapping, schedule, integrations) 2026-05-08 09:58:10 -05:00
device_live_nested chore: remove backup files from sed operations 2026-03-06 07:57:30 -06:00
graph_live test: lift coverage 81.88% → 82.45% with more agent-driven tests 2026-05-08 09:45:15 -05:00
help_live test: parametric HelpLive section coverage + MibCache init/pre_resolve 2026-05-08 13:30:38 -05:00
helpers test: fix all compile warnings in subscriber matching tests 2026-03-10 13:02:32 -05:00
maintenance_live test: lift coverage from 85.84% → 86.28% 2026-05-08 17:44:18 -05:00
mikrotik_backup_live test: lift coverage 79.59% → 79.85% with more focused tests 2026-05-07 19:16:13 -05:00
org test: GaiiaReconciliationLive + ActivityFeedLive helpers and events 2026-05-08 13:39:01 -05:00
org_live fix test warnings and failures 2026-02-05 15:24:41 -06:00
site_live tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
trace_live test: fix slow + flaky tests (Mox global, env pollution, pool starvation) 2026-05-08 14:43:30 -05:00
user_settings_live test: more LiveView event coverage (TotpManager, ApiTokenManager, OrgSettings) 2026-05-07 14:32:35 -05:00
activity_feed_live_test.exs test: GaiiaReconciliationLive + ActivityFeedLive helpers and events 2026-05-08 13:39:01 -05:00
agent_live_test.exs test: refactor LiveView tests to use HTML-aware element/form helpers 2026-04-29 11:14:20 -05:00
alert_live_events_test.exs test: cover live view event handlers, invitation query, fix flaky timeout test 2026-05-05 11:13:01 -05:00
alert_live_test.exs fix: remove stale tests for deleted capacity route and removed subtitle 2026-03-12 14:18:45 -05:00
config_timeline_live_helpers_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
config_timeline_live_test.exs test: lift coverage 84.08% → 84.99%; exclude declarative modules from coverage 2026-05-08 11:18:26 -05:00
dashboard_live_test.exs test: DashboardLive acknowledge_alert success and cross-org branches 2026-05-08 14:04:20 -05:00
escalation_policy_live_test.exs feat(on_call): drag-drop reorder + restrictions editor + new-schedule polish 2026-04-28 14:27:38 -05:00
insights_live_events_test.exs test: cover live view event handlers, invitation query, fix flaky timeout test 2026-05-05 11:13:01 -05:00
integrations_smoke_test.exs ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
live_helpers_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
map_live_events_test.exs test: cover live view event handlers, invitation query, fix flaky timeout test 2026-05-05 11:13:01 -05:00
mobile_qr_live_test.exs test: lift coverage 84.08% → 84.99%; exclude declarative modules from coverage 2026-05-08 11:18:26 -05:00
my_data_live_test.exs gdpr (#86) 2026-03-19 14:28:31 -05:00
network_map_live_events_test.exs test: lift coverage 78.42% → 79.59% with focused unit + integration tests 2026-05-07 18:40:43 -05:00
network_map_live_test.exs test: refactor LiveView tests to use HTML-aware element/form helpers 2026-04-29 11:14:20 -05:00
onboarding_live_test.exs test: expand coverage across resolvers, vendors, controllers, workers 2026-05-07 14:23:58 -05:00
org_live_test.exs fix: improve insight auto-resolution and query performance 2026-03-05 10:11:52 -06:00
reports_live_test.exs test: ReportsLive toggle/delete/run_now + UserRegistration invitation paths + SiteLive geocode/apply 2026-05-08 12:53:06 -05:00
rf_link_health_live_helpers_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
schedule_live_test.exs test: more coverage across LiveViews (gaiia mapping, schedule, integrations) 2026-05-08 09:58:10 -05:00
site_live_test.exs test: SiteLive force_rediscover + CoverageLive.Show coverage_status broadcast 2026-05-08 13:16:13 -05:00
smoke_test.exs ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
status_page_live_helpers_test.exs tests: raise coverage to 70% via helper promotion + new unit/property tests 2026-04-24 09:49:06 -05:00
status_page_live_test.exs test: GlobalSearch keyboard nav + StatusPageLive mount + Coverages.Profile clutter polygons 2026-05-08 13:23:13 -05:00
user_registration_live_test.exs test: ReportsLive toggle/delete/run_now + UserRegistration invitation paths + SiteLive geocode/apply 2026-05-08 12:53:06 -05:00
user_reset_password_live_test.exs test: expand coverage across resolvers, vendors, controllers, workers 2026-05-07 14:23:58 -05:00
user_settings_live_test.exs test: refactor LiveView tests to use HTML-aware element/form helpers 2026-04-29 11:14:20 -05:00
weathermap_live_events_test.exs test(api_docs): assert page renders rather than checking for sample_token 2026-05-07 15:57:36 -05:00
weathermap_live_test.exs test: add LiveView tests following testing-liveview patterns 2026-05-07 12:55:39 -05:00