Auto picks panes from 900 px wide, a laptop's window too, not 1600

One pane and the stack of earlier ones beside it read well from there. The browser tests start in
the column (playwright.config.ts) where they mean it; a panes test lets the layout follow the window
(helpers.ts autoLayout). New: auto gives panes at 1366 and the column at 820 and 390.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
thalladaandClaude Opus 5.5 committed 2026-11-16 16:31:21 -05:00
1 parent f8d663ebc1
commit 5f6ea8e5c9
13 files changed
+53 -19

No files matched your search

+2 -1
View File
@@ -6,7 +6,7 @@
* store call to the painted frame. Runs last: it fills the shared library.
*/
import { expect, test, type Page } from "@playwright/test";
import { idle, state, synced, writeReport, type Sample } from "./helpers";
import { autoLayout, idle, state, synced, writeReport, type Sample } from "./helpers";
const ready = (page: Page) => page.waitForFunction(() => (globalThis as any).__ie?.ready === true, undefined, { timeout: 30_000 });
/** One keystroke per frame, as in the other latency tests. */
@@ -98,6 +98,7 @@ test("a library of over 5,000 nodes in 100 more documents: keypress → paint an
// ---- panes ----
await page.setViewportSize({ width: 1920, height: 1080 });
await autoLayout(page);
await page.goto("/");
await ready(page);
await expect(page.locator(".strip .pane")).toHaveCount(1);