towerops/test/towerops_web/live
Graham McIntire e6650833f6
Improve test coverage: AgentLive.Index, UserAuth, Cisco profile
- Added comprehensive tests for ToweropsWeb.AgentLive.Index
  - Tests mount, create_agent, revoke_agent, and close_token_modal events
  - Tests agent status display and last_seen formatting
  - Coverage improved from 57.50% to 80.00%

- Enhanced ToweropsWeb.UserAuth tests
  - Added tests for impersonation functionality
  - Added tests for organization loading and membership verification
  - Added tests for superuser authorization
  - Coverage improved from 51.08% to 61.87%

- Expanded Towerops.Snmp.Profiles.Cisco tests
  - Added tests for all sensor type parsing functions
  - Added tests for different sensor scales, statuses, and error conditions
  - Tests sensor discovery with various data formats
  - Coverage improved from 57.30% to 100.00%

Overall test coverage improved from 64.25% to 65.86%
2026-01-12 18:56:23 -06:00
..
agent_live Improve test coverage: AgentLive.Index, UserAuth, Cisco profile 2026-01-12 18:56:23 -06:00
equipment_live Add comprehensive tests for EquipmentLive.Form and UserCredentialController 2026-01-12 18:46:15 -06:00
org add remote agent setup 2026-01-09 13:15:31 -06:00
agent_live_test.exs add remote agent setup 2026-01-09 13:15:31 -06:00
alert_live_test.exs Add comprehensive test coverage for LiveView modules and contexts 2026-01-03 11:21:53 -06:00
dashboard_live_test.exs Add active page navigation highlighting 2026-01-03 12:28:26 -06:00
equipment_live_test.exs Enhance EquipmentLive.Show test coverage with additional test cases 2026-01-12 18:35:37 -06:00
org_live_test.exs Fix all failing tests after UI changes 2026-01-05 11:33:26 -06:00
site_live_test.exs Fix all failing tests after UI changes 2026-01-05 11:33:26 -06:00