Skip to content

test: add component tests for issues #584, #583, #582, #581 - #644

Open
willowgray071-cpu wants to merge 4 commits into
Stellar-split:mainfrom
willowgray071-cpu:feat/add-component-tests
Open

test: add component tests for issues #584, #583, #582, #581#644
willowgray071-cpu wants to merge 4 commits into
Stellar-split:mainfrom
willowgray071-cpu:feat/add-component-tests

Conversation

@willowgray071-cpu

Copy link
Copy Markdown

Summary

Implements comprehensive test suites for four pending feature issues:

Changes

  • src/__tests__/InvoiceTableColumnVisibility.test.tsx: 10 test cases covering column visibility toggle, persistence, and required column safety
  • src/__tests__/ActivityHeatmapTooltip.test.tsx: 12 test cases covering tooltip positioning, viewport boundary detection, and edge cases
  • src/__tests__/ActivityFeed.test.tsx: Updated with 5 new test cases for empty state, CTA links, and loading states
  • src/__tests__/NavbarMobileMenu.test.tsx: 16 test cases covering hamburger menu, screen size breakpoints, keyboard accessibility, and mobile UX

Test Coverage

✓ Component rendering and visibility
✓ User interactions (clicks, keyboard, hover)
✓ State persistence (localStorage)
✓ Responsive design breakpoints
✓ Accessibility (keyboard navigation, ARIA)
✓ Edge cases and boundary conditions

Closes #584
Closes #583
Closes #582
Closes #581

- Verify gear icon button opens column settings dropdown
- Test column visibility toggling without page reload
- Verify localStorage persistence and restoration
- Ensure required columns remain visible
- Test dropdown close on escape and outside click
- Verify tooltip appears on cell hover
- Test tooltip position flipping left when right edge overflows
- Test tooltip position flipping down when top edge overflows
- Ensure tooltip stays within viewport on all edges
- Test tooltip hide on mouse leave and content updates
- Verify empty state renders with icon and message
- Test CTA link to /invoice/new in empty state
- Ensure skeleton loader shows during loading state
- Verify empty state hidden when data is loading
- Test proper empty state messaging guidance
- Verify hamburger icon shows below sm breakpoint
- Test hamburger icon hidden above sm breakpoint
- Verify mobile menu opens on hamburger click
- Test menu close on escape key and outside click
- Ensure vertical navigation links in mobile menu
- Test keyboard accessibility and link navigation
@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@willowgray071-cpu Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

@willowgray071-cpu is attempting to deploy a commit to the kingsman-99's projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

None yet

Projects

None yet

1 participant