perf(test): speed up local and CI validation

This commit is contained in:
morluto
2026-07-24 03:10:11 +00:00
parent 0b7013134c
commit 42fbbb297b
14 changed files with 139 additions and 25 deletions
+3 -1
View File
@@ -1361,7 +1361,9 @@ describe("CdpBrowserProvider", () => {
}),
{ signal: controller.signal },
);
await waitForCommand(browser, "Target.attachToTarget");
// Wait until the attach response has been consumed and capture has begun.
// Seeing the attach request alone races its response under worker load.
await waitForCommand(browser, "Page.getFrameTree");
controller.abort();
const result = await pending;
expect(result).toMatchObject({