Skip to content

Commit 28815ab

Browse files
committed
fixup! fixup! fixup! fixup! e2e test
1 parent 815d6b8 commit 28815ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/features/jimaku.spec.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ test('测试同传字幕AI总结', { tag: "@scoped" }, async ({ room, content: p
201201

202202
logger.info('正在測試AI总結結果... (15s)')
203203
await summarizer.waitForTimeout(15000)
204+
await expect(summarizer.getByText('错误')).toBeHidden({ timeout: 5000 })
204205
const res = await summarizer.locator('h5.leading-snug').textContent()
205206
logger.debug('AI Summary:', res)
206207

@@ -211,7 +212,7 @@ test('测试同传字幕AI总结', { tag: "@scoped" }, async ({ room, content: p
211212
maybe(res).toContain('麦当劳')
212213
maybe(res).toContain('漫展')
213214
maybe(res).toContain('蟑螂')
214-
215+
215216
})
216217

217218

0 commit comments

Comments
 (0)