Skip to content

Commit 9dfbf68

Browse files
committed
fixup! fixup! fixup! added test cases for ai feature
1 parent ba90996 commit 9dfbf68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/features/jimaku.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ test('测试同传字幕AI总结', { tag: "@scoped" }, async ({ room, content: p
203203
logger.info('正在測試AI总結結果... (15s)')
204204
await summarizer.waitForTimeout(15000)
205205
await expect(summarizer.getByText('错误')).toBeHidden({ timeout: 5000 })
206-
const res = await summarizer.getByTestId('同传字幕总结-bubble-chat-0').locator('h5.leading-snug').textContent()
206+
const res = await summarizer.getByTestId('同传字幕总结-bubble-chat-0').locator('div.leading-snug').textContent()
207207
logger.debug('AI Summary:', res)
208208

209209
const maybe = expect.configure({ soft: true })

0 commit comments

Comments
 (0)