feat: add document content search

This commit is contained in:
2026-08-14 17:57:00 +02:00
parent 6f183daca8
commit a15b463589
4 changed files with 29 additions and 5 deletions
+1
View File
@@ -27,6 +27,7 @@ async function waitForSave(page: Page, action: () => Promise<void>) {
test('move, folder expansion, hand pan, desktop wheel zoom, mobile pinch, and reload persistence', async ({ page }) => {
await page.goto('/?level=e2e-level&edit=1')
await expect(page.getByRole('heading', { name: 'Browser Safety Test' })).toBeVisible()
await expect(page.locator('.documents-panel')).toHaveClass(/\bclosed\b/)
await expect(page.locator('.brief-panel')).toBeVisible()
await expect(page.getByRole('button', { name: 'Case brief', exact: true })).toContainText('2')
await page.getByRole('button', { name: 'BEGIN INVESTIGATION', exact: true }).click()