GeezerVison is showing github.com — test(app): drop the wheel-navigation claim from the scroll benchmark · anomalyco/opencode@ace6af6
File tree
Expand file treeCollapse file tree
Open diff view settings
packages/app/e2e/performance/timeline
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/app/e2e/performance/timeline/session-timeline-scroll-benchmark.spec.ts +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -87,9 +87,9 @@ async function runTimelineScrollBenchmark(page: Page, options: { waitForColdSett |
87 | 87 | * timeline, and the net movement is returned as-is: the cold tail pin can legitimately drag the |
88 | 88 | * view back down. |
89 | 89 | * |
90 | | - * Assigns `scrollTop` rather than wheeling: a wheel burst makes this app navigate, which destroys |
91 | | - * the execution context mid-measurement. The assignment still fires a real scroll event, so the |
92 | | - * settle path under measurement runs unchanged. |
| 90 | + * Assigns `scrollTop` rather than wheeling, matching the fixture's own `scrollToBottom`. The |
| 91 | + * assignment still fires a real scroll event, so the settle path under measurement runs unchanged, |
| 92 | + * and each step lands deterministically instead of depending on wheel delivery. |
93 | 93 | */ |
94 | 94 | async function wheelThrough(scroller: Locator, steps: number, delta: number) { |
95 | 95 | const start = await scroller.evaluate((element) => element.scrollTop) |
|