Skip to content

Commit a8b4810

Browse files
committed
Fix flaky test
1 parent c6778e0 commit a8b4810

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

integration/client-data-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ test.describe("Client Data", () => {
368368

369369
await app.goto("/parent/child");
370370
html = await app.getHtml("main");
371+
await page.waitForSelector("#child-deferred-data");
371372
expect(html).toMatch("Parent Server Loader");
372373
// app.goto() doesn't resolve until the document finishes loading so by
373374
// then the HTML has updated via the streamed suspense updates

0 commit comments

Comments
 (0)