mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 06:16:59 +08:00
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:
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user