Repository navigation
test(BottomSheet): name the drag spec's list marker plainly - #10767
Conversation
The proof that a long list scrolls to its end before the sheet stretches marks the sheet's scrolling list with a data attribute. Its name was a leftover label that means nothing here. It is now `data-sheet-list`, which says what it marks. Nothing else changes.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| BottomSheet | 68.2 kB (0) · 7.7 kB CSS (0) | — | ✗ · ✓ · — |
| BottomSheetSwitcher | 17.9 kB (0) · 3.4 kB CSS (0) | — | ✗ · ✓ · — |
Visual changes: 2 snapshots in 1 component
A change is a question for the reviewer, not a failure.
| Component · story | Before | After | Diff |
|---|---|---|---|
| BottomSheet · Text Only (neutral, dark) | ![]() |
![]() |
![]() |
| BottomSheet · Text Only (neutral, light) | ![]() |
![]() |
![]() |
Package size: no published package changed; no new dependencies.
API changes: none in this pull request
Committed API report behind this build: cli 29 rows, core 34 rows, theme-butter 1 row, theme-y2k 1 row; run pnpm api:report.
Touched components checked; add ci:run-visual or ci:run-rtl to run the full suites.
Generated by PR Enrichment workflow | View full report
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet.
The rename is consistent: dataset.sheetList writes the data-sheet-list attribute that the locator now selects, and the FR18 long-list test in BottomSheetDrag.a11y.chromium.spec.ts passes in Chromium with the new name. Nothing else needs to change.
Next step: the ci:run and ci:run-a11y labels are already on, so CI starts once the pull request is marked ready for review.
[Automated review]
|
/approve-spec 340626e |






Maintainer impact
A BottomSheet accessibility proof marks the sheet's scrolling list with a data attribute, so it can find the list again. The attribute's name was a leftover label that means nothing in this repository. It now says what it marks.
Intended invariant
A marker that a test sets says what it marks, as
TableScroll.a11y.chromium.spec.tsdoes withtableScrollOuter. The proof's checks do not change.Change
data-sheet-list. It setsdataset.sheetListand finds the list with[data-sheet-list].data-sheet-list.Evidence
Scope
Testing
On main 79893c7 with its own Storybook build,
CI=1, Chromium, 1 worker:BottomSheetDrag.a11y.chromium.spec.ts, 2 rounds of 3 tests ×2, interleavedGates. typecheck (core), eslint and prettier pass.
pnpm test:nodepasses (17,709 tests). A search of every tracked file finds the old name nowhere else.Overlap. #8344 and #8375 also touch this file. This branch adds no conflict to either.