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
2025-02-28 02:34:28 +00:00
parent 59526080d4
commit cd0bec5d31
6 changed files with 120 additions and 71 deletions

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');
});