fix: add visible brief window controls

This commit is contained in:
2026-08-14 18:33:04 +02:00
parent ffa81284df
commit 21a74e243c
3 changed files with 11 additions and 3 deletions
+6
View File
@@ -30,6 +30,12 @@ test('move, folder expansion, empty-board pan, desktop wheel zoom, mobile pinch,
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: 'Minimize brief', exact: true }).click()
await expect(page.locator('.brief-panel')).toHaveClass(/\bminimized\b/)
await expect(page.locator('.brief-panel > p')).toBeHidden()
await expect(page.getByRole('button', { name: 'Close brief', exact: true })).toBeVisible()
await page.getByRole('button', { name: 'Restore brief', exact: true }).click()
await expect(page.locator('.brief-panel')).not.toHaveClass(/\bminimized\b/)
await page.getByRole('button', { name: 'BEGIN INVESTIGATION', exact: true }).click()
const folder = page.locator('[data-temporal-id="widget:11111111-1111-4111-8111-111111111111"]')