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.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
Tests: the summary button width allows a sub-pixel of font rounding, the summary frame waits longer for streamed words and allows a pixel of scroll rounding (#93)
christianmat08660c6722d1
diff --git a/app/e2e/resumeRecording.spec.ts b/app/e2e/resumeRecording.spec.tsindex 59673fc4..35321d25 100644--- a/app/e2e/resumeRecording.spec.ts+++ b/app/e2e/resumeRecording.spec.ts@@ -28,7 +28,8 @@ test('Stop summary preserves a saved rewrite and the header label stays still onawait button.hover()await expect(button).toHaveAccessibleName('Stop summary')await expect(button).toHaveText('Summarizing…')- expect((await button.boundingBox())!.width).toBe(width)+ // the same width, give or take how a display rounds the words (#93: 0.4 px apart on an M5's built-in screen)+ expect(Math.abs((await button.boundingBox())!.width - width)).toBeLessThan(1)await button.focus()await expect(page.locator('.summary-stop-square')).toHaveCSS('opacity', '1')await button.press('Enter')diff --git a/app/e2e/summaryRim.spec.ts b/app/e2e/summaryRim.spec.tsindex a4fa0131..a17ab01d 100644--- a/app/e2e/summaryRim.spec.ts+++ b/app/e2e/summaryRim.spec.ts@@ -39,7 +39,8 @@ for (const theme of ['light', 'dark'] as const) for (const width of [420, 860])expect(viewport.y + viewport.height).toBeCloseTo(reading.y + reading.height, 0)const text = (n: number) => Array.from({ length: n }, (_, i) => `## Section ${i + 1}\nThe team agreed to review the launch notes and confirm the next step before publishing.\n`).join('\n')await push('writing', text(18))- await expect(page.getByTestId('note-enhanced-editor')).toContainText('Section 18')+ // the words unroll on animation frames: a busy machine needs longer than the default 5 s (#93)+ await expect(page.getByTestId('note-enhanced-editor')).toContainText('Section 18', { timeout: 15_000 })await expect.poll(() => pane.evaluate(el => el.scrollHeight - el.clientHeight - el.scrollTop)).toBeLessThan(24)await expect(rim).toHaveCount(0)await page.getByTestId('note-transcript-toggle').click()@@ -50,7 +51,7 @@ for (const theme of ['light', 'dark'] as const) for (const width of [420, 860])await pane.evaluate(el => { el.dispatchEvent(new WheelEvent('wheel', { deltaY: -400 })); el.scrollTop = 100 })await expect(latest).toBeVisible()await push('writing', text(22))- await expect(page.getByTestId('note-enhanced-editor')).toContainText('Section 22')+ await expect(page.getByTestId('note-enhanced-editor')).toContainText('Section 22', { timeout: 15_000 })expect(await pane.evaluate(el => el.scrollTop)).toBeCloseTo(100, 0)await latest.click()await expect(latest).toBeHidden()@@ -67,7 +68,8 @@ for (const theme of ['light', 'dark'] as const) for (const width of [420, 860])expect(after.width).toBe(before!.width)// Reading and writing use the full pane without a status lane.expect(after.height).toBe(before!.height)- expect(await pane.evaluate(el => el.scrollTop)).toBeCloseTo(scrollTop, 0)+ // where the reader was, give or take a pixel of rounding (#93)+ expect(Math.abs(await pane.evaluate(el => el.scrollTop) - scrollTop)).toBeLessThanOrEqual(1)await page.emulateMedia({ reducedMotion: 'no-preference' })await expect(page.locator('.note-reading-frame')).toHaveAttribute('data-active', 'false')await expect(page.getByTestId('note-summary-tab')).toHaveText('Summary')