From 7345de2f7c5c1a7ec5304fda66bfeb55ac172104 Mon Sep 17 00:00:00 2001 From: CRT Date: Fri, 23 Oct 2026 10:47:39 +0800 Subject: [PATCH] Desktop boot check: quota row match as plain text --- tools/desktop-boot-check.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/desktop-boot-check.ts b/tools/desktop-boot-check.ts index e80c48f..6f7ced0 100644 --- a/tools/desktop-boot-check.ts +++ b/tools/desktop-boot-check.ts @@ -702,7 +702,7 @@ async function runAutoReadCase(browser: Browser): Promise { if (!(await shows(page, line, 'Everything read', READ_ALL_MS))) problems.push(`status line: not "Everything read" after ${READ_ALL_MS / 1000} s: ${await text(line)}`); const done = await text(line); notes.push(`status line after: ${done}; ${reads} reads, ${apps} apps`); - if (!/App Store 3,412 / 3,600 per hour/.test(done)) problems.push(`status line: no App Store quota (${done})`); + if (!done.includes('App Store 3,412 / 3,600 per hour')) problems.push(`status line: no App Store quota (${done})`); await settle(page); // every tab of every app: nothing says "not read yet" (the reads were done in the background) const shown = await page.locator('nav.side .nav-app:visible').count();