Skip to content

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

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:1710expect(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

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