GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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
Filter options
  • packages/app/e2e/performance/timeline
    • session-timeline-scroll-benchmark.spec.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/app/e2e/performance/timeline/session-timeline-scroll-benchmark.spec.ts‎

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 numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ async function runTimelineScrollBenchmark(page: Page, options: { waitForColdSett
8787
* timeline, and the net movement is returned as-is: the cold tail pin can legitimately drag the
8888
* view back down.
8989
*
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.
9393
*/
9494
async function wheelThrough(scroller: Locator, steps: number, delta: number) {
9595
const start = await scroller.evaluate((element) => element.scrollTop)

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.