Add document locator beam
This commit is contained in:
@@ -47,6 +47,17 @@ test('move, folder expansion, empty-board pan, desktop wheel zoom, mobile pinch,
|
||||
await expect(page.locator('.brief-panel')).not.toHaveClass(/\bminimized\b/)
|
||||
await page.getByRole('button', { name: 'BEGIN INVESTIGATION', exact: true }).click()
|
||||
|
||||
await page.getByRole('button', { name: 'EVIDENCE', exact: true }).click()
|
||||
const documentRow = page.locator('[data-document-row-id="22222222-2222-4222-8222-222222222222"]')
|
||||
await documentRow.click()
|
||||
await expect(documentRow).toHaveClass(/\bselected\b/)
|
||||
await expect(page.locator('[data-temporal-id="widget:11111111-1111-4111-8111-111111111111"]')).toHaveClass(/\bdocument-located\b/)
|
||||
await expect(page.locator('.document-locator-beam .document-locator-ray')).toBeVisible()
|
||||
await documentRow.dblclick()
|
||||
await expect(page.getByRole('button', { name: 'Close document', exact: true })).toBeVisible()
|
||||
await page.getByRole('button', { name: 'Close document', exact: true }).click()
|
||||
await page.getByRole('button', { name: 'Close documents', exact: true }).click()
|
||||
|
||||
page.once('dialog', dialog => dialog.accept('Disposable working theory'))
|
||||
await waitForSave(page, () => page.getByRole('button', { name: 'NEW NOTE', exact: true }).click())
|
||||
const note = page.locator('.evidence-card.note').filter({ hasText: 'Disposable working theory' })
|
||||
|
||||
Reference in New Issue
Block a user