fix(core): at menu ux (#10485)

fix AF-2285

1. loading icon will be rendered to the group name
2. make the focused item more stable
This commit is contained in:
pengx17 committed 2025-02-28 02:34:29 +00:00
1 parent 59526080d4
commit cd0bec5d31
6 files changed
+120 -71

No files matched your search

+1 -1
View File
@@ -483,7 +483,7 @@ test('@ popover can auto focus on the "New Doc" item when query returns no items
await expect(page.locator('.linked-doc-popover')).toBeVisible();
const newDocMenuItem = page
.locator('.linked-doc-popover')
.locator('[data-id="create-page"]');
.locator('[data-id="create:page"]');
await expect(newDocMenuItem).toBeVisible();
await expect(newDocMenuItem).toHaveAttribute('hover', 'true');
});