mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-19 15:26:59 +08:00
fix(server): image action behavior in ci (#9077)
This commit is contained in:
@@ -486,15 +486,14 @@ test.describe('chat with block', () => {
|
||||
.then(b => b.click());
|
||||
});
|
||||
|
||||
// TODO(@darkskygit): not work on ci
|
||||
test.skip('explain this image', async ({ page }) => {
|
||||
test('explain this image', async ({ page }) => {
|
||||
await page
|
||||
.waitForSelector('.ai-item-explain-this-image')
|
||||
.then(i => i.click());
|
||||
expect(await collectTextAnswer(page)).toBeTruthy();
|
||||
});
|
||||
// TODO(@darkskygit): not work on ci
|
||||
test.skip('generate a caption', async ({ page }) => {
|
||||
|
||||
test('generate a caption', async ({ page }) => {
|
||||
await page
|
||||
.waitForSelector('.ai-item-generate-a-caption')
|
||||
.then(i => i.click());
|
||||
|
||||
Reference in New Issue
Block a user