Problem
1. Tests for Toast component render, auto-dismiss, and manual close are missing — after issue e08 adds Toast, no tests verify the toast renders with the correct message, auto-dismisses after the configured duration, or the close button dismisses it immediately.
2. Tests for Tooltip component render and keyboard accessibility are missing — after issue e10 adds Tooltip, no tests verify the tooltip content appears on hover/focus, is hidden by default, or is accessible via keyboard focus on the trigger element.
3. Tests for Dashboard controlled navigation (activeSection/onSectionChange) and defaultSection prop are missing — after issue e12, no tests verify that passing activeSection="transactions" renders TransactionsScreen, onSectionChange fires when a nav item is clicked, or defaultSection="soroban" initialises to the Soroban screen.
Solution
Write Vitest + @testing-library/react tests for all three groups using userEvent.hover, userEvent.tab, and mock props.
Acceptance Criteria
Note for Contributors: Write a clear PR description. Include the full npm test output and describe how you tested the Tooltip keyboard focus behaviour using userEvent.tab().
Problem
1. Tests for
Toastcomponent render, auto-dismiss, and manual close are missing — after issuee08addsToast, no tests verify the toast renders with the correct message, auto-dismisses after the configured duration, or the close button dismisses it immediately.2. Tests for
Tooltipcomponent render and keyboard accessibility are missing — after issuee10addsTooltip, no tests verify the tooltip content appears on hover/focus, is hidden by default, or is accessible via keyboard focus on the trigger element.3. Tests for
Dashboardcontrolled navigation (activeSection/onSectionChange) anddefaultSectionprop are missing — after issuee12, no tests verify that passingactiveSection="transactions"rendersTransactionsScreen,onSectionChangefires when a nav item is clicked, ordefaultSection="soroban"initialises to the Soroban screen.Solution
Write Vitest + @testing-library/react tests for all three groups using
userEvent.hover,userEvent.tab, and mock props.Acceptance Criteria
Toastrender, auto-dismiss, and manual close tests passTooltipvisibility on hover/focus and hidden-by-default tests passDashboardcontrolled and uncontrolled navigation tests passnpm test