An open source design system that's fully customizable and agent ready
TypeScript
test(BottomSheet): name the drag spec's list marker plainly (#10767)
Christopher Chedeau5baebb01d37d
diff --git a/packages/core/src/BottomSheet/__tests__/BottomSheetDrag.a11y.chromium.spec.ts b/packages/core/src/BottomSheet/__tests__/BottomSheetDrag.a11y.chromium.spec.tsindex 5401d07331..6f4db17807 100644--- a/packages/core/src/BottomSheet/__tests__/BottomSheetDrag.a11y.chromium.spec.ts+++ b/packages/core/src/BottomSheet/__tests__/BottomSheetDrag.a11y.chromium.spec.ts@@ -308,11 +308,11 @@ test('a long list scrolls to its end, then the sheet stretches with the rest ofif (list == null) {throw new Error('no scrolling list');}- list.dataset.c17List = '';+ list.dataset.sheetList = '';list.scrollTop = list.scrollHeight - list.clientHeight - 40;return list.scrollHeight - list.clientHeight;});- const list = sheet.locator('[data-c17-list]');+ const list = sheet.locator('[data-sheet-list]');const listBox = await list.boundingBox();if (listBox == null) {throw new Error('no list box');