test(query-devtools/Explorer): add test for independently toggling two pages#10737
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA new test case added to the Explorer test suite verifies that pagination page headers can be toggled independently, confirming items from both pages display and hide correctly based on their individual expansion states. ChangesPagination Test Coverage
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 3203c75
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
Extend
Explorer.test.tsxwith a test that locks the independent toggle behavior of pagination — each page header maintains its own expand/collapse state without affecting other pages.Added cases (
pagination, 1):should independently toggle two pages when their headers are clicked— opens[0...99]and[100...199]simultaneously, asserts both pages render their items, then closes[0...99]and asserts only that page is hidden while[100...199]stays open.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit