diff --git a/scripts/check-gui-render.mjs b/scripts/check-gui-render.mjs index 421468b..db6688c 100755 --- a/scripts/check-gui-render.mjs +++ b/scripts/check-gui-render.mjs @@ -136,12 +136,14 @@ async function runReadyScenario(cdp, url) { await clickText(cdp, '.nav-item', 'Неразобранное') await assertText(cdp, 'Неразобранное', 'inbox: system view opens') await assertText(cdp, 'Inbox Smoke Item', 'inbox: unassigned item visible') + await screenshot(cdp, 'inbox.png') await clickText(cdp, '.inbox-item-actions .btn', 'Открыть') await assertText(cdp, 'Inbox Smoke Item', 'inbox: item opens from list') await clickText(cdp, '.nav-item', 'Корзина') await assertText(cdp, 'Trash Smoke Folder', 'trash: deleted node visible') await assertText(cdp, 'node-trash_Trash-Smoke-Folder', 'trash: physical entry visible') + await screenshot(cdp, 'trash.png') await clickText(cdp, '.tree-label', 'Smoke Project') await waitForSelector(cdp, '.tabs') @@ -233,7 +235,7 @@ async function runReadyScenario(cdp, url) { await assertEval(cdp, `document.documentElement.scrollWidth <= window.innerWidth + 2`, 'mobile: no horizontal page overflow') await screenshot(cdp, 'mobile-main.png') - console.log('OK: ready app smoke covers settings, workspace, tabs, files, journal, activity, create modal, mobile viewport') + console.log('OK: ready app smoke covers settings, inbox, trash, workspace, tabs, files, journal, activity, create modal, mobile viewport') } async function navigate(cdp, url) {