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();