test: add component tests for issues #584, #583, #582, #581 - #644
Open
willowgray071-cpu wants to merge 4 commits into
Open
test: add component tests for issues #584, #583, #582, #581#644willowgray071-cpu wants to merge 4 commits into
willowgray071-cpu wants to merge 4 commits into
Conversation
- 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
|
@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! 🚀 |
|
@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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 safetysrc/__tests__/ActivityHeatmapTooltip.test.tsx: 12 test cases covering tooltip positioning, viewport boundary detection, and edge casessrc/__tests__/ActivityFeed.test.tsx: Updated with 5 new test cases for empty state, CTA links, and loading statessrc/__tests__/NavbarMobileMenu.test.tsx: 16 test cases covering hamburger menu, screen size breakpoints, keyboard accessibility, and mobile UXTest 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