mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-24 04:27:27 +08:00
feat(core): do not show AI actions in history (#13198)
Close [AI-351](https://linear.app/affine-design/issue/AI-351) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Disabled action updates related to document IDs and sessions in the AI chat content panel. * **Tests** * Skipped all end-to-end tests for the "should show chat history in chat panel" scenario across various AI action test suites. These tests will no longer run during automated testing. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -59,7 +59,7 @@ test.describe('AIAction/ChangeTone', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -24,7 +24,7 @@ test.describe('AIAction/CheckCodeError', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -60,7 +60,7 @@ test.describe('AIAction/ContinueWriting', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -18,7 +18,7 @@ test.describe('AIAction/ExplainCode', () => {
|
||||
await expect(answer).toHaveText(/console.log/);
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -27,7 +27,7 @@ test.describe('AIAction/ExplainImage', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below', 'replace-selection']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -53,7 +53,7 @@ test.describe('AIAction/ExplainSelection', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -102,7 +102,7 @@ Compare and Select Flights`
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -53,7 +53,7 @@ test.describe('AIAction/FixGrammar', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -50,7 +50,7 @@ test.describe('AIAction/FixSpelling', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -27,7 +27,7 @@ test.describe('AIAction/GenerateAnImageWithImage', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -63,7 +63,7 @@ test.describe('AIAction/GenerateAnImageWithText', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -74,7 +74,7 @@ test.describe('AIAction/GenerateHeadings', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -29,7 +29,7 @@ test.describe('AIAction/GenerateImageCaption', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -57,7 +57,7 @@ test.describe('AIAction/GenerateOutline', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -27,7 +27,7 @@ test.describe('AIAction/ImageProcessing', () => {
|
||||
await expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -51,7 +51,7 @@ test.describe('AIAction/ImproveWriting', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -57,7 +57,7 @@ test.describe('AIAction/MakeItLonger', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -64,7 +64,7 @@ test.describe('AIAction/MakeItReal', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -57,7 +57,7 @@ test.describe('AIAction/MakeItShorter', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -57,7 +57,7 @@ test.describe('AIAction/Summarize', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -48,7 +48,7 @@ test.describe('AIAction/Translate', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('support show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -57,7 +57,7 @@ test.describe('AIAction/WriteAnArticleAboutThis', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -57,7 +57,7 @@ test.describe('AIAction/WriteAnBlogPostAboutThis', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -57,7 +57,7 @@ test.describe('AIAction/WriteAnPoemAboutThis', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
@@ -57,7 +57,7 @@ test.describe('AIAction/WriteAnTweetAboutThis', () => {
|
||||
expect(responses).toEqual(new Set(['insert-below']));
|
||||
});
|
||||
|
||||
test('should show chat history in chat panel', async ({
|
||||
test.skip('should show chat history in chat panel', async ({
|
||||
loggedInPage: page,
|
||||
utils,
|
||||
}) => {
|
||||
|
||||
Reference in New Issue
Block a user