Skip to content

Commit

Permalink
fixup! fixup! fixup! added test cases for ai feature
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Oct 23, 2024
1 parent ba90996 commit 9dfbf68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/features/jimaku.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ test('测试同传字幕AI总结', { tag: "@scoped" }, async ({ room, content: p
logger.info('正在測試AI总結結果... (15s)')
await summarizer.waitForTimeout(15000)
await expect(summarizer.getByText('错误')).toBeHidden({ timeout: 5000 })
const res = await summarizer.getByTestId('同传字幕总结-bubble-chat-0').locator('h5.leading-snug').textContent()
const res = await summarizer.getByTestId('同传字幕总结-bubble-chat-0').locator('div.leading-snug').textContent()
logger.debug('AI Summary:', res)

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

0 comments on commit 9dfbf68

Please sign in to comment.