fix: show inbox capture target context
This commit is contained in:
@@ -263,6 +263,15 @@ async function runReadyScenario(cdp, url) {
|
||||
await clickText(cdp, '.tab', 'Активность')
|
||||
await assertText(cdp, 'Smoke activity', 'activity: per-node activity visible')
|
||||
|
||||
await emitDroppedFiles(cdp, ['/tmp/project-context-file.txt'])
|
||||
await clickText(cdp, '.nav-item', 'Неразобранное')
|
||||
await assertText(cdp, 'project-context-file.txt', 'inbox: node-context capture visible globally')
|
||||
await assertText(cdp, 'Захвачено в: Smoke Project', 'inbox: global list shows capture context')
|
||||
await assertText(cdp, 'Цель: Smoke Project', 'inbox: global list shows suggested target')
|
||||
await clickInboxItemButton(cdp, 'project-context-file.txt', 'Удалить')
|
||||
await clickText(cdp, '.overlay .btn', 'Удалить')
|
||||
await assertEval(cdp, `!document.querySelector('.inbox-screen')?.innerText.includes('project-context-file.txt')`, 'inbox: node-context capture can be deleted')
|
||||
|
||||
await clickText(cdp, '.nav-item', 'Сегодня')
|
||||
await assertText(cdp, 'Сегодня', 'today: system view opens')
|
||||
await assertText(cdp, 'Smoke Project', 'today: dashboard data visible')
|
||||
|
||||
Reference in New Issue
Block a user