desktop boot check: the Store art tab's live thumbnails are read on demand (art live), so its 'Live store art not read yet' is not a missed background read
This commit is contained in:
parent
d1159313ac
commit
511716bfd5
1 changed files with 4 additions and 1 deletions
|
|
@ -686,7 +686,10 @@ async function runAutoReadCase(browser: Browser): Promise<CaseResult> {
|
||||||
const tx = await text();
|
const tx = await text();
|
||||||
// a Play read that lost its edit to a parallel read (pitfall), or a store that failed called empty
|
// a Play read that lost its edit to a parallel read (pitfall), or a store that failed called empty
|
||||||
for (const bad of [/Edit has been deleted/i, /is not on Google Play yet/i]) if (bad.test(tx)) problems.push(`${appName} ${id}: says "${(bad.exec(tx) ?? [''])[0]}"`);
|
for (const bad of [/Edit has been deleted/i, /is not on Google Play yet/i]) if (bad.test(tx)) problems.push(`${appName} ${id}: says "${(bad.exec(tx) ?? [''])[0]}"`);
|
||||||
if (/not read yet|Read the stores to see this/i.test(tx)) problems.push(`${appName} ${id}: says "${(/not read yet|Read the stores to see this/i.exec(tx) ?? [''])[0]}" after the background read`);
|
// the Store art tab's live thumbnails are read on demand (art live: one image download per slot), never by
|
||||||
|
// the background read: its "Live store art not read yet" is expected there
|
||||||
|
const unread = id === 'tab-art' ? tx.replace(/Live store art not read yet/gi, '') : tx;
|
||||||
|
if (/not read yet|Read the stores to see this/i.test(unread)) problems.push(`${appName} ${id}: says "${(/not read yet|Read the stores to see this/i.exec(tx) ?? [''])[0]}" after the background read`);
|
||||||
visited++;
|
visited++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue