test(core): add missing await for expect (#11900)

This commit is contained in:
L-Sun
2025-04-23 04:55:18 +00:00
parent b1aecfc1c4
commit 9baef237f2
20 changed files with 93 additions and 105 deletions

View File

@@ -70,7 +70,7 @@ test.describe('AIChatWith/Network', () => {
20000
);
const { message } = await utils.chatPanel.getLatestAssistantMessage(page);
expect(await message.locator('affine-footnote-node').count()).toBe(0);
await expect(message.locator('affine-footnote-node')).toHaveCount(0);
});
test('should disable network search when chating with image', async ({