Skip to content

test: TransactionHistory empty state and sessionStorage, SorobanPanel Cmd+Enter shortcut, AccountCardCompact avatar and click #322

Description

@k-deejah

Problem

1. Test for TransactionHistory empty state illustration and sessionStorage page persistence are missing — after issue #71 and the b01 fix, no tests verify the icon + empty state renders and sessionStorage restores page position.

2. Test for SorobanPanel Cmd+Enter keyboard shortcut and auto-resizing textarea are missing — after issue b02, no tests verify the keyboard shortcut fires invoke and the textarea rows count updates based on content.

3. Test for AccountCardCompact improved avatar initials and navigation click are missing — after issue b03, no tests verify the last-4-char derived initials render correctly, the full address shows in the title attribute, and clicking fires navigation.

Solution

Write Vitest + @testing-library/react tests for all three groups.

Acceptance Criteria

  • TransactionHistory empty state icon and sessionStorage restore tests pass
  • SorobanPanel Cmd+Enter and textarea resize tests pass
  • AccountCardCompact avatar initials, title, and click navigation tests pass
  • All tests pass with npm test

Note for Contributors: Write a clear PR description. Include the full npm test output.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programhelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions