diff --git a/integration-test/nextjs/src/app/cc/dynamic/dynamic.test.ts b/integration-test/nextjs/src/app/cc/dynamic/dynamic.test.ts index 229f327b..2da37c9d 100644 --- a/integration-test/nextjs/src/app/cc/dynamic/dynamic.test.ts +++ b/integration-test/nextjs/src/app/cc/dynamic/dynamic.test.ts @@ -2,9 +2,9 @@ import { expect } from "@playwright/test"; import { test } from "../../../../fixture"; const regex_connection_closed_early = - /streaming connection closed before server query could be fully transported, rerunning/; + /streaming connection closed before server query could be fully transported, rerunning/i; const regex_query_error_restart = - /query failed on server, rerunning in browser/; + /query failed on server, rerunning in browser/i; test.describe("CC dynamic", () => { test.describe("useSuspenseQuery", () => { diff --git a/integration-test/nextjs/src/app/cc/dynamic/useSuspenseQuery/page.tsx b/integration-test/nextjs/src/app/cc/dynamic/useSuspenseQuery/page.tsx index 8d25a5f1..f5e8553f 100644 --- a/integration-test/nextjs/src/app/cc/dynamic/useSuspenseQuery/page.tsx +++ b/integration-test/nextjs/src/app/cc/dynamic/useSuspenseQuery/page.tsx @@ -22,7 +22,7 @@ export const dynamic = "force-dynamic"; export default function Page() { const { data } = useSuspenseQuery(QUERY, { - context: { delay: 1000, error: "browser" }, + context: { delay: 1000 }, }); globalThis.hydrationFinished?.();