feat: add handwritten cues to text exhibits

This commit is contained in:
2026-08-14 18:30:31 +02:00
parent b39d2efa75
commit ffa81284df
4 changed files with 24 additions and 5 deletions
+5
View File
@@ -92,6 +92,10 @@ test('a cloned Glass Harbor level can be solved without modifying its template',
await waitForSave(page, () => page.getByRole('button', { name: 'Zoom out', exact: true }).click())
await waitForSave(page, () => movement.getByRole('button', { name: 'OPEN', exact: true }).click())
const manifest = page.locator('.source-file-widget.open').filter({ hasText: 'Carrier Dispatch Manifest' })
await expect(manifest.locator('.text-source-excerpt')).toContainText('HARBOR & FELL LOGISTICS')
await expect(manifest.locator('.source-file-preview svg')).toHaveCount(0)
const manifestCue = page.getByRole('textbox', { name: 'Memory cue for Carrier Dispatch Manifest · H&F 14', exact: true })
await waitForSave(page, () => manifestCue.fill('ELIAS · H&F 14'))
await elias.click()
await page.getByRole('button', { name: 'Red thread', exact: true }).click()
const boardBox = await page.locator('.board-viewport').boundingBox()
@@ -135,6 +139,7 @@ test('a cloned Glass Harbor level can be solved without modifying its template',
await expect(page.locator('.evidence-card.party')).toHaveCount(6)
await expect(page.locator('.evidence-card.event')).toHaveCount(3)
await expect(page.locator('.evidence-card.note')).toHaveCount(1)
await expect(page.getByRole('textbox', { name: 'Memory cue for Carrier Dispatch Manifest · H&F 14', exact: true })).toHaveValue('ELIAS · H&F 14')
await expect(page.locator('.story-strip')).toContainText('CO-771 was diverted to Warehouse 3')
await expect(page.locator('.event-support-lines line')).toHaveCount(6)
await expect(page.locator('.connections path')).toHaveCount(3)