Skip to content

Commit 0dbbd4d

Browse files
committed
fix tests
1 parent 598c32f commit 0dbbd4d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

e2e/chat.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ test.describe('Chat v2 Conversation tests', () => {
3535
await page.locator('#send-preference-configurator-submit').click()
3636

3737
await expect(page.getByTestId('user-message')).toContainText('tää tyhjennetään')
38-
await expect(page.getByTestId('assistant-message')).toContainText('OVER', { timeout: 5000 })
38+
await expect(page.getByTestId('assistant-message')).toContainText('OVER', { timeout: 6000 })
3939

4040
page.on('dialog', (dialog) => dialog.accept())
4141
await page.locator('#empty-conversation-button').click()
File renamed without changes.

src/server/services/langchain/MockModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { basicTestContent } from '../../util/azure/mocks/mockContent'
1212
export class MockModel extends FakeStreamingChatModel {
1313
constructor() {
1414
super({
15-
sleep: 10,
15+
sleep: 5,
1616
})
1717
}
1818

0 commit comments

Comments
 (0)