diff --git a/integration/client-data-test.ts b/integration/client-data-test.ts index 0c5f9e86005..2c9bee4b08b 100644 --- a/integration/client-data-test.ts +++ b/integration/client-data-test.ts @@ -367,8 +367,8 @@ test.describe("Client Data", () => { let app = new PlaywrightFixture(appFixture, page); await app.goto("/parent/child"); - html = await app.getHtml("main"); await page.waitForSelector("#child-deferred-data"); + html = await app.getHtml("main"); expect(html).toMatch("Parent Server Loader"); // app.goto() doesn't resolve until the document finishes loading so by // then the HTML has updated via the streamed suspense updates