Commit Graph
2 Commits
Author SHA1 Message Date
yetone b8b7ee507a gui tests: zcode-site-layout clicks the ZCode app's sign-in where it is, with the mouse — Playwright's own scroll into view moved the 440px window's page by 3px before its click, which the test's "the click scrolled" check caught; a mouse click there moves nothing (probed: #view-providers stays at 442). The no-scroll check is unchanged. Passes in Chromium and WebKit, en and zh, at 440, 700 and 960px; failed on 6e623d16. 2026-10-06 05:56:47 +08:00
yetone eb1d97895c gui: ZCode's site step keeps its question readable (361, Discord) — the plugin's other ways (the ZCode app's sign-in, the API key) were added to the question's row beside Z.ai and 智谱 BigModel, four buttons that left 「你要用的 ZCode(GLM Coding Plan)账号在哪个站点?」 a strip a character or two wide and the box very tall (0px wide at the tray panel's 440, 85px at 700 in zh). Now the question keeps the row with Cancel beside it, the two sites are one group under it, and the other ways a line of links under them (data-site / data-method kept), each wrapping. zcode-site-layout.test.cjs (WebKit, en and zh, at 440, 700 and 960px): the question at least 55% of the box and at most ~4 lines, the box under 260px tall, no button out of the box, the sites on one line, the app's sign-in still signing in with way 2 and the click not scrolling; it fails on the old code at every width. plugin-other-ways, plugin-moved-signin, add-sheet, click-scroll, gui-ja and gui-de pass on WebKit; zcode-site fails the same on origin/main. Looked at in screenshots. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass. 2026-10-05 12:15:31 +08:00