gui tests: reasoning-speed leaves WebKit's cut-off fetch out of its page errors (#1350)

The test goes from Routing to Usage, and WebKit reports the Routing
page's /api/gateway/session-titles fetch that the goto cuts off as a
page error ("... due to access control checks"), though the page
catches it. webkit zh-TW and zh went red that way in 2 of 7 runs on
mica. The filter is the one builtin-places, checkin-account and
checkin-at already use for #1350.

Run on mica: BROWSER=webkit node --test reasoning-speed 4 times, and
both engines once after it (results in the next commit's record).
This commit is contained in:
yetone
2026-11-14 18:01:16 +08:00
parent 683265e867
commit ee4a4c7432
+1 -1
View File
@@ -96,7 +96,7 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",
page.setDefaultTimeout(5000);
page.setDefaultNavigationTimeout(60000);
const errors = [];
page.on("pageerror", (e) => errors.push(e.message));
page.on("pageerror", (e) => { if (engine === "webkit" && /due to access control checks/.test(e.message)) return; errors.push(e.message); }); // a goto in WebKit can cut off a fetch (#1350)
await page.route("**/*", serve(lang));
// the Routing page: each row, and the session's average