towerops/test/towerops_web/controllers
Graham McIntire 3eb95b5f90
Streamline login flow and fix test failures
Login flow improvements:
- Remove "Welcome back!" flash message on successful login
- Auto-login users clicking magic links without confirmation prompt
- Always use "remember me" for magic link logins
- Fix Accounts.login_user_by_magic_link/1 to handle invalid token format

Test fixes:
- Add @tag :integration to Ping tests (require actual system ping)
- Add halt() calls to UserAuth.start_impersonation error paths

Users now go directly to their intended destination after clicking a
magic link, with no interruption for "log in and stay logged in" choice.
2026-01-13 13:08:24 -06:00
..
api Add comprehensive AgentController edge case tests 2026-01-13 08:37:58 -06:00
error_html_test.exs Add test for ErrorHTML fallback render function 2026-01-13 07:48:23 -06:00
error_json_test.exs init 2025-12-21 11:10:43 -06:00
health_controller_test.exs Add HealthController test (0% → 100%) 2026-01-13 07:39:28 -06:00
page_controller_test.exs add marketing site 2026-01-06 14:34:48 -06:00
page_html_test.exs Add test for PageHTML home template 2026-01-13 07:49:25 -06:00
user_credential_controller_test.exs Add comprehensive tests for EquipmentLive.Form and UserCredentialController 2026-01-12 18:46:15 -06:00
user_registration_controller_test.exs more features 2026-01-02 14:06:44 -06:00
user_registration_html_test.exs Add test for UserRegistrationHTML 2026-01-13 07:52:06 -06:00
user_session_controller_test.exs Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00
user_session_html_test.exs Add comprehensive tests for UserSessionHTML 2026-01-13 07:50:39 -06:00
user_settings_controller_test.exs 1. User Authentication 2025-12-21 13:31:59 -06:00
user_settings_html_test.exs Add tests for UserSettingsHTML 2026-01-13 07:52:46 -06:00