towerops/test/towerops_web/live
Graham McIntire 89a076fb67
feat: migrate equipment features to gettext and fix sudo mode tests
Migrates all equipment-related flash messages to gettext for internationalization:
- DeviceLive.Index: device discovery, reordering, error messages
- DeviceLive.Show: backup messages, permission errors
- DeviceLive.Form: device CRUD operations
- AlertLive.Index: alert acknowledgment messages
- SiteLive.Show: site discovery messages
- SiteLive.Form: site CRUD and SNMP/agent propagation

Fixes sudo mode test suite issues:
- Updates Accounts.sudo_mode?/2 test to check last_sudo_at instead of authenticated_at
- Adds register_and_log_in_user_with_sudo/1 helper to ConnCase
- Fixes UserAuth sudo mode tests to use session-based authentication
- Updates MyData tests to use sudo mode (now required per router config)
- Removes obsolete UserSettingsLive "without sudo mode" test
- Fixes grant_sudo_mode/1 DateTime truncation to seconds

All equipment module tests passing. Ready for Phase 3 (Admin Features).
2026-02-02 12:41:58 -06:00
..
account_live fix TOTP enrollment with recovery codes 2026-01-31 14:54:44 -06:00
agent_live test fixes 2026-01-26 15:27:59 -06:00
device_live bring in snmpkit 2026-01-23 12:52:17 -06:00
device_live_nested faster tests 2026-01-27 09:30:18 -06:00
graph_live test cleanup 2026-01-19 13:29:38 -06:00
org purge more passkey and gettext updates 2026-02-02 10:20:59 -06:00
org_live Add tests for Monitoring.Ping and OrgLive.New 2026-01-13 08:54:49 -06:00
agent_live_test.exs agent overhaul 2026-01-30 16:05:23 -06:00
alert_live_test.exs test fixes 2026-01-26 15:27:59 -06:00
dashboard_live_test.exs test fixes 2026-01-26 15:27:59 -06:00
my_data_live_test.exs feat: migrate equipment features to gettext and fix sudo mode tests 2026-02-02 12:41:58 -06:00
org_live_test.exs add device/org limit 2026-01-27 14:14:25 -06:00
user_registration_live_test.exs Use detected timezone from session in user registration 2026-02-01 12:18:33 -06:00
user_reset_password_live_test.exs add HIBP password check 2026-02-01 08:57:01 -06:00
user_settings_live_test.exs feat: migrate equipment features to gettext and fix sudo mode tests 2026-02-02 12:41:58 -06:00