fix(server): handle edge case of empty docs (#12608)

fix AI-130
This commit is contained in:
darkskygit
2025-05-28 11:25:53 +00:00
parent 9f0d4536c7
commit acf92aa3da
2 changed files with 4 additions and 2 deletions

View File

@@ -28,7 +28,9 @@ test.describe('AIBasic/Chat', () => {
await check.hover();
const tooltip = await page.getByTestId('ai-chat-embedding-status-tooltip');
await expect(tooltip).toBeVisible();
await expect(tooltip).toHaveText(/Results will improve after embedding/i);
await expect(tooltip).toHaveText(
/Results will improve after embedding|Embedding finished/
);
});
test(`should send message and receive AI response: