fix(core): ai history of new users is always loading, enable online search by default (#11741)

Close [AI-69](https://linear.app/affine-design/issue/AI-69).
This commit is contained in:
akumatus
2025-04-17 02:53:40 +00:00
parent b8d9c5417d
commit 50b3f5f7df
5 changed files with 27 additions and 7 deletions

View File

@@ -9,6 +9,12 @@ test.describe('AIBasic/Authority', () => {
await utils.chatPanel.openChatPanel(page);
});
test('should show messages placeholder when no login', async ({ page }) => {
await expect(
page.getByTestId('chat-panel-messages-placeholder')
).toBeVisible();
});
test('should show error & login button when no login', async ({
page,
utils,