Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion examples/ag-ui/angular/e2e/error-handling.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ test('error handling: failed stream surfaces an alert and the next send recovers

await messageInput(page).fill('say hi briefly');
await sendButton(page).click();
await expect(page.getByRole('alert')).toContainText(/fail|error/i, { timeout: 15_000 });
await expect(page.getByRole('alert')).toContainText(
/can't reach|connection|server|interrupted|try again/i,
{ timeout: 15_000 },
);

await page.unroute('**/agent');
await expect(messageInput(page)).toBeEnabled();
Expand Down
Loading