Skip to content

kyc.screen unit test pins placeholder recall-agreement TODO text #1388

Open

Description

@marassteiner

Context

Follow-up from #1271

The new screen suite asserts against the existing placeholder copy for the recall-agreement step. That pins a TODO string as expected behaviour and will break for the wrong reason when the real agreement text lands.

Evidence

  • src/__tests__/kyc.screen.test.tsx:1710 — expect(await screen.findByText(/TODO: recall agreement text/)).toBeInTheDocument()

Suggested direction

Locate the step by a stable control (the agreement checkbox, the Next button, or a test id) instead of the placeholder sentence.

Acceptance

  • The RecallAgreement test still proves the submit path
  • It no longer matches /TODO: recall agreement text/

Activity

  1. marassteiner commented on Aug 14, 2026

    @marassteiner
    CollaboratorAuthor

    EN: Re-review of #1271 at 8ec4736d still pins the placeholder; the assertion moved to line 2239.
    DE: Beim Re-Review von #1271 auf 8ec4736d ist der Platzhalter weiter festgeschrieben; die Assertion steht jetzt in Zeile 2239.

    Details

    src/__tests__/kyc.screen.test.tsx:2239 still matches /TODO: recall agreement text/.
    src/screens/kyc.screen.tsx:2847 still renders TODO: recall agreement text.
    The product copy is unchanged; this issue stays open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions