mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix(site/src/pages/AgentsPage): update stream silence story assertions
This commit is contained in:
@@ -274,7 +274,7 @@ export const TerminalStreamSilenceTimeoutError: Story = {
|
||||
play: async ({ canvasElement }) => {
|
||||
const canvas = within(canvasElement);
|
||||
expect(
|
||||
canvas.getByRole("heading", { name: /startup timed out/i }),
|
||||
canvas.getByRole("heading", { name: /response stalled/i }),
|
||||
).toBeVisible();
|
||||
expect(
|
||||
canvas.getByText(/anthropic did not send response data in time./i),
|
||||
|
||||
@@ -241,7 +241,7 @@ export const RetryStreamSilenceTimeout: Story = {
|
||||
play: async ({ canvasElement }) => {
|
||||
const canvas = within(canvasElement);
|
||||
expect(
|
||||
canvas.getByRole("heading", { name: /startup timed out/i }),
|
||||
canvas.getByRole("heading", { name: /response stalled/i }),
|
||||
).toBeVisible();
|
||||
expect(
|
||||
canvas.getByText(/anthropic did not send response data in time/i),
|
||||
|
||||
Reference in New Issue
Block a user