mobile-web: drop the Claude Code mode row exemption 98cff4b0d left stale

98cff4b0d made Claude Code's mode one row in the Claude Code editor and
took #claudeTuiRow out of app.js. mobile-web still removed that row from
Settings whenever BASE_REF's app.js lacked it, which is now always, and
waited 5s for a row no page has: every "desktop matches" case (en, zh,
900 and 1280) was red on main from 98cff4b0d on.

Run on mica at this head, with BASE_REF an origin/main 783b69b8c copy of
the assets: mobile-web passes; before this, its four desktop cases timed
out on locator('#claudeTuiRow').
This commit is contained in:
yetone
2026-11-14 09:31:24 +08:00
parent 2c0d203156
commit 6c88d61f0d
-7
View File
@@ -378,13 +378,6 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",
await current.locator("#claudeLeanRow").evaluate((r) => r.remove());
await current.waitForTimeout(350);
}
// Replies' Claude Code's interactive mode row is new: until
// BASE_REF has it, the page is compared with the row taken
// out; claude-tui-setting.test.cjs covers the row.
if (view === "settings" && !baselineFile("app.js").includes("claudeTuiRow")) {
await current.locator("#claudeTuiRow").evaluate((r) => r.remove());
await current.waitForTimeout(350);
}
// The Routing page's Settings › button is new: until BASE_REF
// has it, the page is compared with the button taken out;
// settings-places.test.cjs covers it.