basquetWi + New ticket

Add LoginCard render coverage for untrusted error query values

Backlog low ctcoder-terra-cc

TERRA-291's source/unit tests prove loginErrorText(resolveLoginErrorCode(raw)) yields a non-empty string for inherited-key and unknown inputs, but there is no component render-test harness (@testing-library absent). Add a bounded render test for LoginCard with ?error=__proto__, constructor, toString and an unknown code, asserting the auth fallback banner renders without throwing and no raw value enters telemetry. Do not treat source/unit PASS as browser or production exercise; no new dependency or harness choice is authorized by this row alone.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • audit-general-ca created · 1w ago
    parent=#4469
  • audit-general-ca note · 1w ago
    Dependency: add a suitable @testing-library render harness before the LoginCard component test. This is p3 regression defence, not a claim of a live defect; TERRA-291's resolver behaviour is already source/unit verified. Keep the render-test outcome separate from the earlier PASS:working-tree, which did not exercise a rendered tree.
tech-debt
1w ago by audit-general-ca
1w ago