Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Tests: auto-stop checks follow the 4 s grace; the chat focus check waits for the scope picker to be enabled

christianmat00e707236a47
diff --git a/app/e2e/autoStop.spec.ts b/app/e2e/autoStop.spec.ts
index 8e35c836..3f692cd4 100644
--- a/app/e2e/autoStop.spec.ts
+++ b/app/e2e/autoStop.spec.ts
@@ -46,9 +46,10 @@ test('the call ends: after the grace the recording stops by itself, with no ques
try {
await callAndRecord(app, page)
await signals(app, { micApps: [], events: [event()] })
- await advance(app, 9_000)
+ // the grace is 4 s (CALL_GONE_MS)
+ await advance(app, 3_000)
await expect(page.getByTestId('note-state')).toHaveAttribute('data-state', 'recording')
- await advance(app, 2_000)
+ await advance(app, 1_500)
await expect(page.getByTestId('note-state')).toHaveAttribute('data-state', /^(stopped|done)$/)
// nothing asked
expect(cards(app)).toBe(0)
@@ -67,7 +68,7 @@ test('a blip shorter than the grace does nothing', async () => {
try {
await callAndRecord(app, page)
await signals(app, { micApps: [], events: [event()] })
- await advance(app, 6_000)
+ await advance(app, 2_000)
await signals(app, { micApps: [zoom], events: [event()] })
await advance(app, 6_000)
await expect(page.getByTestId('note-state')).toHaveAttribute('data-state', 'recording')
diff --git a/app/e2e/chat.spec.ts b/app/e2e/chat.spec.ts
index b4e42cd0..167cf25b 100644
--- a/app/e2e/chat.spec.ts
+++ b/app/e2e/chat.spec.ts
@@ -78,6 +78,8 @@ test('a narrow chat is modal, contains keyboard focus, and keeps its draft when
await expect(panel).toHaveAttribute('aria-modal', 'true')
expect(await panel.evaluate((el) => el.matches(':modal'))).toBe(true)
await expect(input).toBeFocused()
+ // the scope picker is disabled while the chat loads, and Tab skips a disabled button
+ await expect(panel.getByRole('button', { name: 'Choose meetings or folders' })).toBeEnabled()
await page.keyboard.press('Tab')
await expect(panel.getByRole('button', { name: 'Choose meetings or folders' })).toBeFocused()
await page.keyboard.press('Escape')