Skip to content

Commit aaf6bbc

Browse files
committed
fix: make browser memory soak exercise real resets
1 parent 105ce7e commit aaf6bbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/browser/memory-soak.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test.describe("Memory soak", () => {
4545
});
4646

4747
await page.goto("/?ea&homeScreen=false");
48-
await page.waitForSelector("#sim", { timeout: 30_000 });
48+
await page.waitForSelector("#sim", { state: "attached", timeout: 30_000 });
4949

5050
// Warm-up: one reset + GC so first metrics are not cold-start dominated.
5151
await clickResetAll(page);

0 commit comments

Comments
 (0)