Commit Graph

18 Commits

Author SHA1 Message Date
Joseph Doherty 8524a7f746 test(sms-e2e): valid Twilio SID fixture so the create path passes (Gitea #29)
TestAccountSid was 'ACtest123' (AC + 6 chars). The management create
path validates the Account SID against ^AC[0-9a-fA-F]{32}$
(ManagementActor.cs:2205, added 2026-07-10, commit 40088a21) while the
fixture predates the guard (2026-06-19) — so the create was rejected and
the config-card + secret-non-leak assertions have been red/inert since.

Use AC + 32 hex (AC00000000000000000000000000000001) so the create
succeeds and the downstream Auth-Token-non-leak assertion actually runs
again. Unit-level RepositoryCoverageTests keep their short SIDs — they
construct SmsConfiguration directly and never hit the validated path.
2026-07-23 14:03:49 -04:00
Joseph Doherty d6ead8ae62 test(sms): live Playwright E2E for SMS config page + Type selector + Type column (S11) 2026-06-19 11:54:25 -04:00
Joseph Doherty 8270a603d3 test(playwright): update pager/markup selectors to M10 component hooks (INT) 2026-06-18 20:41:43 -04:00
Joseph Doherty 5bc8dbad31 test(playwright): Notification hygiene — scoped pager locator, next-enabled re-assert, role-mapping-delete doc note 2026-06-07 10:22:54 -04:00
Joseph Doherty 70e84a7b79 test(playwright): seed inside try in Notification filter/modal tests for guaranteed cleanup (review fix) 2026-06-07 04:32:16 -04:00
Joseph Doherty b1d7497463 test(playwright): seed inside try in Notification stuck/pagination tests for guaranteed cleanup (review fix) 2026-06-07 04:23:33 -04:00
Joseph Doherty 99a69c1fba test(playwright): Notification Report stuck-only + pagination edge cases (Wave 4) 2026-06-07 04:18:04 -04:00
Joseph Doherty 5774b30d0d test(playwright): scope Notification detail-modal title selector to the open modal (review fix) 2026-06-07 04:15:25 -04:00
Joseph Doherty 42f38996a9 test(playwright): Notification Report filter-combo + detail-modal edge cases (Wave 4) 2026-06-07 04:12:02 -04:00
Joseph Doherty 5c190885da test(playwright): generalize NotificationDataSeeder for status/created-at (Wave 4 prep)
Add InsertNotificationAsync with explicit status/createdAt parameters so tests
can seed back-dated Retrying rows that satisfy the IsStuck derived property
(Status ∈ {Pending,Retrying} && CreatedAt < now − 10 min). Refactor
InsertParkedNotificationAsync to delegate to it, preserving its exact public
signature and producing identical SQL for existing callers.
2026-06-07 03:31:28 -04:00
Joseph Doherty 4cfe950232 test(playwright): drop hollow SMTP restore, make render assert web-first (review fix) 2026-06-06 15:00:08 -04:00
Joseph Doherty 3b1f76b7df test(playwright): add SMTP config validation + render coverage (Wave 3) 2026-06-06 14:52:34 -04:00
Joseph Doherty d03aa3c556 test(playwright): harden NotificationList toast + nav assertions (review fix) 2026-06-06 14:49:39 -04:00
Joseph Doherty b48741f903 test(playwright): add NotificationList CRUD + recipient + validation coverage (Wave 3) 2026-06-06 14:42:45 -04:00
Joseph Doherty d61c9212d6 test(playwright): add NotificationKpis render + refresh coverage (Wave 3) 2026-06-06 14:36:54 -04:00
Joseph Doherty 667d141f1a test(e2e): unify toast assertion + extract shared PlaywrightDbConnection (review cleanups) 2026-06-05 11:00:27 -04:00
Joseph Doherty fac0bcbb01 test(e2e): use web-first toast assertion in notification tests (review fix) 2026-06-05 10:47:06 -04:00
Joseph Doherty 4d55c0ac95 test(e2e): cover notification retry/discard + parked-messages query 2026-06-05 10:40:06 -04:00