fix: remove descriptions beside tree labels
Reference site / build (push) Canceled after 0s

This commit is contained in:
2026-10-11 15:41:25 +09:00
parent 107b59afb4
commit 822272cad3
3 changed files with 5 additions and 2 deletions
+4
View File
@@ -617,6 +617,10 @@ test('expand/collapse all preserves visible selection and rehomes hidden selecti
await expand.click();
await expect(page.getByRole('treeitem')).toHaveCount(42);
await expect(page.locator('[data-tree-count]')).toHaveText('42 / 42 objects');
const labelsOnly = await page.locator('.demo-node:not(.root-mark)').evaluateAll((nodes) => nodes.every((node) =>
node.textContent === node.querySelector('.node-label')!.textContent + (node.querySelector('.node-indicator')?.textContent ?? '')
));
expect(labelsOnly).toBe(true);
await expect(page.locator('.demo-node:not([aria-expanded])')).toHaveCount(26);
await expect(nodeAt(page, initialPath)).toHaveAttribute('aria-selected', 'true');
await checkGlyphRefs(page);