From 94aa793db0ee832a320ec1ebbff2cbf044ea1ad7 Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 13 Oct 2026 03:44:09 +0800 Subject: [PATCH] gui tests: routing-sessions, pick-skills and routing-group-fold wheel to the control they press, as the reader would, since the sidebar moved it out of sight or under a bar (#1672) Cause: 18e82adc6 (the sidebar). From 1024 points wide the page sits beside the sidebar, and a width change lets go of what the last click held (heldWidth). Both are intended: a sidebar like a Mac app's, and a relayout isn't the click's doing. That commit updated the tests whose window is 1024+, but missed these three. Each now presses a control that is out of sight or under a bar: - routing-sessions ("background memory groups"): after the resize from 1100 to 560, By request is at y=902 in an 800px window, with scrollTop 0. Before 18e82adc6 the click's hold kept scrollTop at 296, and the button was at y=606. - pick-skills: pdf's row is at 683-750. That is partly under the sticky bar Select brings up (664-712), and the view ends at 732. Before, the row was wholly below the view (715-782), and Playwright scrolled it. - routing-group-fold: with the pool open, the Team and Big folds are under the window's foot (en, ja, de). The app puts back any scroll that isn't the reader's, Playwright's included. Playwright doesn't scroll a control that is partly in sight at all. So in WebKit the click waits ("element is outside of the viewport", "