diff --git a/CHANGELOG.md b/CHANGELOG.md index 5612a47..e4b915d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## Unreleased +- Desktop v2 ships (0.8.33 and 0.8.34 stopped at the desktop boot check, which still expected the old markup). + - Desktop v2 ships (0.8.33 stopped at the desktop boot check, which still expected the old markup). ## 0.8.33 ยท 2026-10-22 diff --git a/tools/desktop-boot-check.ts b/tools/desktop-boot-check.ts index 86eb8b6..5811a78 100644 --- a/tools/desktop-boot-check.ts +++ b/tools/desktop-boot-check.ts @@ -1070,7 +1070,7 @@ async function runLiveArtCase(browser: Browser, sidecar: Sidecar): Promise problems.push(`no "Read the stores" button: ${String(e).split('\n')[0]}`)); // thumbnails load lazily when a tile comes into view, so scroll each one in like a person would - await page.evaluate(() => document.querySelectorAll('#live-art [data-live-tile]').forEach(e => e.scrollIntoView({ block: 'center' }))); + for (const tile of await page.locator('#live-art [data-live-tile]').all()) { await tile.scrollIntoViewIfNeeded().catch(() => {}); await page.waitForFunction(el => !!el?.querySelector('img[src^="data:image/"]'), await tile.elementHandle(), { timeout: 3000, polling: 50 }).catch(() => {}); } const drawn = await page.waitForFunction(() => document.querySelectorAll('#live-art [data-live-tile] img[src^="data:image/"]').length >= 2, null, { timeout: WAIT_MS, polling: 50 }).then(() => true, () => false); if (!drawn) problems.push(`live thumbnails not drawn (${(await text('#live-art')).slice(0, 300)})`); const live = await text('#live-art');