Tests: a dotted curve's end at a scrolled pane's tab; click points measured after each move; wait for an article before Tab

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 22:18:16 -05:00
1 parent 0df51493cd
commit 626dc19e1b
3 files changed
+29 -21

No files matched your search

+2 -1
View File
@@ -326,7 +326,8 @@ test("a curve per open edge, from where each pane was opened to its title; it fo
await nextFrames(page);
cs = await curves(page);
expect(edge("Eukaryote", "Bacteria")[0].cls).toContain("lost");
const top = (await pane(page, "Eukaryote").locator(".pane-scroll").boundingBox())!.y;
// (The pane, scrolled past its title, shows its tab: its edge is the tab's foot; the curve ends turned up toward the link.)
const top = (await pane(page, "Eukaryote").locator(".pane-scroll").boundingBox())!.y + 30;
expect(Math.abs(edge("Eukaryote", "Bacteria")[0].a.y - top)).toBeLessThan(6);
// Scroll the strip: the curves move with the panes.
const was = edge("Two kinds of cell", "Simple cells")[0].b;