model-api-preset, model-test-why, provider-detect-models and model-copy-id
failed in Chromium only, on main. They were stale tests, not app bugs:
- To right-click a chip out of sight, Playwright scrolls the editor first.
Chromium sends that scroll's event a frame later, after the menu has
opened, and a menu closes on a scroll, so its items were detached under
the click. rclick() now scrolls the chip in with a trial click, lets two
frames pass, then right-clicks.
- model-copy-id read the footer as soon as the fake server had the id,
before the page had the answer. It now waits for the footer.
- model-api-preset's one-API chip menu now has Copy model ID beside its
test (81879b90). It expects those two items and no "Asked on".
All four pass in Chromium and WebKit, en and zh.