Desktop boot check: quota row match as plain text

This commit is contained in:
CRTkafa 2026-10-23 10:47:39 +08:00
parent 2638b90046
commit 7345de2f7c

View file

@ -702,7 +702,7 @@ async function runAutoReadCase(browser: Browser): Promise<CaseResult> {
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();