Skip to content

test: TransactionPanel validation paths, AddressDisplay keyboard visibility, mock-client determinism - #148

Merged
k-deejah merged 1 commit into
Sorokit:mainfrom
stayzappy:feat/issue-125-tests
Jun 27, 2026
Merged

test: TransactionPanel validation paths, AddressDisplay keyboard visibility, mock-client determinism#148
k-deejah merged 1 commit into
Sorokit:mainfrom
stayzappy:feat/issue-125-tests

Conversation

@stayzappy

Copy link
Copy Markdown
Contributor

Description

This PR resolves the requested testing gaps for TransactionPanel, AddressDisplay, and mock-client.

Changes Verified/Made:

  • TransactionPanel: Tests cover destination format validation, self-payment warnings, and the minimum amount check.
  • AddressDisplay: Tests cover keyboard focus accessibility (tab order) and aria-label presence, as well as base opacity (no opacity-0 without hover).
  • mock-client: Tests cover valid address format, invalid network rejection, determinism of MOCK_HISTORY, and specifically verify that getHistory strictly respects the limit pagination parameter.

(Note: Most of the tests were already integrated into main, so this PR specifically supplements the existing tests by hardening the mock-client pagination assertions).

Closes #125

@k-deejah
k-deejah merged commit 2edfcb0 into Sorokit:main Jun 27, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: TransactionPanel validation paths, AddressDisplay keyboard visibility, mock-client determinism

2 participants