Skip to content

Commit

Permalink
doh
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Nov 29, 2023
1 parent a8b4810 commit aed8736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/client-data-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aed8736

Please sign in to comment.