boot check: the portfolio with a Play page 404 counts no live version
This commit is contained in:
parent
f34192b546
commit
ec381e8664
1 changed files with 3 additions and 2 deletions
|
|
@ -622,9 +622,10 @@ async function runReleaseStateCase(browser: Browser, sidecar: Sidecar, page404:
|
|||
const wizard = page.locator('.wizard[role="dialog"]');
|
||||
if (await wizard.count()) { await wizard.press('Escape').catch(() => {}); await gone(page, '.wizard[role="dialog"]'); }
|
||||
// the portfolio: Play's cell names the state, never "Live" while the page is 404
|
||||
await shows(page, '#content', page404 ? SENT : '1.0.0');
|
||||
// (the overview counts it with the reviews; its own words are on Releases, checked below)
|
||||
await shows(page, '#content', '1.0.0');
|
||||
const pf = await text();
|
||||
if (page404 && !pf.includes(SENT)) problems.push(`Portfolio: no "${SENT}"`);
|
||||
if (page404 && !pf.includes('Live versions 0')) problems.push('Portfolio: Play counted as live while its store page is 404');
|
||||
await crashCheck('Portfolio');
|
||||
visited++;
|
||||
const item = page.locator('nav.side .nav-app').filter({ hasText: /Prism Puddle|demo-game/ }).first();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue