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
Toasts float above the note's audio player, footer and Ask composer instead of pushing the footer up, so nothing on the page moves when a notice appears
Eric Brownroutf09266dd6f51
diff --git a/app/e2e/loadingAndFeedback.spec.ts b/app/e2e/loadingAndFeedback.spec.tsindex 92106e0b..ce559f3d 100644--- a/app/e2e/loadingAndFeedback.spec.ts+++ b/app/e2e/loadingAndFeedback.spec.ts@@ -64,13 +64,17 @@ test('first reads have skeletons; a loaded transcript stays mounted across tabs'} finally { await app.close() }})-test('Undo stays in its window corner across pages and above the modal backdrop', async ({}, testInfo) => {+test('the same Undo toast clears docked controls across pages and stays reachable in modal Ask', async ({}, testInfo) => {const { app, page } = await launch()try {await app.evaluate(({ BrowserWindow }) => BrowserWindow.getAllWindows().find(w => !w.isDestroyed())!.setSize(1280, 900))const ids = await app.evaluate(() => [(globalThis as any).__fake__.bigMeeting(4), (globalThis as any).__fake__.bigMeeting(6)])- await page.evaluate(id => window.yogurt.nav.go(`/note/${id}`), ids[0])- await expect(page.getByTestId('chat-open')).toBeVisible()+ const thread = await page.evaluate(() => window.yogurt.conversations.ask(null, 'What was discussed?'))+ const openThread = () => page.evaluate(id => window.yogurt.nav.go(`/chat/${id}`), thread)+ await openThread()+ await expect(page.getByTestId('chat-page-turn').first()).toBeVisible()+ const composer = page.locator('.ask-full-thread .ask-composer')+ const beforeToast = await composer.boundingBox()// Use the same public UI action so the real Undo toast and timer are exercised.await page.getByTestId('nav-home').click()await page.evaluate(id => window.yogurt.meetings.rename(id, 'Toast test removal'), ids[1])@@ -79,55 +83,63 @@ test('Undo stays in its window corner across pages and above the modal backdrop'await removal.getByTestId('past-note-more').click()await page.getByTestId('past-note-trash').click()const toast = page.getByTestId('trash-toast')- const expectCorner = () => expect.poll(() => toast.evaluate(el => {+ const expectPosition = (bar?: string) => expect.poll(() => toast.evaluate((el, selector) => {const rect = el.getBoundingClientRect()- return [Math.round(innerWidth - rect.right), Math.round(innerHeight - rect.bottom)]- })).toEqual([20, 20])- await expectCorner()+ const edge = selector ? document.querySelector(selector)?.getBoundingClientRect().top : innerHeight+ return edge === undefined ? null : [Math.round(innerWidth - rect.right), Math.round(edge - rect.bottom)]+ }, bar)).toEqual([20, bar ? 12 : 20])+ await expectPosition()+ const original = await toast.elementHandle()await page.getByTestId('nav-chat').click()await expect.poll(async () => {const toast = await page.getByTestId('trash-toast').boundingBox(), composer = await page.getByTestId('chat-page-box').boundingBox()return !!toast && !!composer && composer.y + composer.height < toast.y}).toBe(true)- await expectCorner()+ await expectPosition()+ await toast.hover()+ await openThread()+ await expect(page.getByTestId('chat-page-turn').first()).toBeVisible()+ await expectPosition('.ask-full-thread .ask-composer')+ expect(await composer.boundingBox()).toEqual(beforeToast)await page.evaluate(() => window.yogurt.nav.go('/settings'))await expect(page.locator('.settings-screen')).toBeVisible()- await expectCorner()+ await expectPosition()await page.getByTestId('sidebar-collapse').click()- await expectCorner()+ await expectPosition()await page.emulateMedia({ reducedMotion: 'reduce' })await page.evaluate(() => window.yogurt.nav.go('/trash'))await expect(page.getByTestId('trash-page')).toBeVisible()- await expectCorner()+ await expectPosition()await page.evaluate(id => window.yogurt.nav.go(`/note/${id}`), ids[0])await expect(page.getByTestId('chat-open')).toBeVisible()- await expectCorner()+ await expectPosition('.note-footer')await toast.hover()await page.screenshot({ path: testInfo.outputPath('toast-closed.png') })await page.getByTestId('chat-open').click()- await expect.poll(async () => {- const a = await toast.boundingBox(), b = await page.getByTestId('chat-panel').boundingBox()- return !!a && !!b && b.y + b.height + 8 <= a.y- }).toBe(true)+ await expectPosition('.chat-composer')await toast.hover()await page.getByTestId('chat-panel').evaluate(el => Promise.allSettled([el, ...el.querySelectorAll('.chat-morph-surface,.chat-panel-contents')].flatMap(node => node.getAnimations()).map(a => a.finished)))await page.emulateMedia({ colorScheme: 'dark' })- await expectCorner()- await page.screenshot({ path: testInfo.outputPath('toast-below-chat.png') })+ await expectPosition('.chat-composer')+ await page.screenshot({ path: testInfo.outputPath('toast-above-composer.png') })await page.getByTestId('chat-close').click()await app.evaluate(({ BrowserWindow }) => BrowserWindow.getAllWindows().find(w => !w.isDestroyed())!.setSize(820, 740))await expect(page.getByTestId('chat-open')).toHaveAttribute('aria-expanded', 'false')- await expectCorner()+ await expectPosition('.note-footer')await page.getByTestId('chat-open').click()await expect(page.getByTestId('chat-panel')).toHaveAttribute('aria-modal', 'true')- await expect.poll(async () => {- const a = await toast.boundingBox(), b = await page.getByTestId('chat-panel').boundingBox()- return !!a && !!b && b.y + b.height + 8 <= a.y- }).toBe(true)+ await expectPosition('.chat-composer')await page.getByTestId('chat-panel').evaluate(el => Promise.allSettled([el, ...el.querySelectorAll('.chat-morph-surface,.chat-panel-contents')].flatMap(node => node.getAnimations()).map(a => a.finished)))await page.screenshot({ path: testInfo.outputPath('toast-narrow-chat.png') })- await expectCorner()+ expect(await toast.evaluate((el, first) => el === first, original)).toBe(true)+ const panel = page.getByTestId('chat-panel')+ const win = await app.browserWindow(page)+ await win.evaluate(w => w.webContents.setZoomFactor(2))+ await expect.poll(() => page.evaluate(() => innerHeight)).toBeLessThanOrEqual(420)+ await expectPosition('.chat-composer')+ const withToast = await panel.boundingBox()await page.getByTestId('trash-undo').click()- await expect(toast).toHaveCount(0)+ await expect(page.locator('.app-toast[data-kind="trash-toast"]')).toHaveCount(0)+ expect(await panel.boundingBox()).toEqual(withToast)} finally { await app.close() }})diff --git a/app/e2e/note.spec.ts b/app/e2e/note.spec.tsindex d177b706..08c2a30e 100644--- a/app/e2e/note.spec.ts+++ b/app/e2e/note.spec.ts@@ -75,7 +75,7 @@ test('Stop ends recording when its metadata cannot save, and Retry saves withoutawait page.getByTestId('past-note').click()await expect.poll(() => page.getByTestId('trash-toast').evaluate((toast) => {const footer = document.querySelector('.note-footer')!.getBoundingClientRect()- return toast.getBoundingClientRect().top - footer.bottom+ return footer.top - toast.getBoundingClientRect().bottom})).toBeGreaterThanOrEqual(12)await page.getByTestId('note-stop-retry').click()await expect(page.getByTestId('note-stop-unsaved')).toBeVisible()diff --git a/app/e2e/noteFooter.spec.ts b/app/e2e/noteFooter.spec.tsindex 22e36669..5be2de1c 100644--- a/app/e2e/noteFooter.spec.ts+++ b/app/e2e/noteFooter.spec.ts@@ -14,10 +14,11 @@ test('recording controls stay in the header and Ask lives in the footer with staawait page.locator('#workspace-actions').getByRole('button', { name: 'Start recording', exact: true }).click()const reminder = page.getByTestId('recording-reminder')await reminder.hover()+ await expect(page.locator('.note-footer')).toHaveCSS('margin-block-end', '0px')await expect.poll(() => reminder.evaluate(el => {- const footer = document.querySelector('.note-footer-bar')- return !!footer && footer.getBoundingClientRect().bottom + 8 <= el.getBoundingClientRect().top- })).toBe(true)+ const footer = document.querySelector('.note-footer')!+ return Math.round(footer.getBoundingClientRect().top - el.getBoundingClientRect().bottom)+ })).toBe(12)await reminder.getByRole('button', { name: 'Close', exact: true }).click()await expect(page.locator('.note-footer')).toHaveCSS('margin-block-end', '0px')await expect(page.locator('.note-footer').getByRole('status').filter({ hasText: 'Mic on in Yogurt' })).toHaveText('Mic on in Yogurt')diff --git a/app/e2e/recordingReminder.spec.ts b/app/e2e/recordingReminder.spec.tsindex 08f40a1c..d016f0ce 100644--- a/app/e2e/recordingReminder.spec.ts+++ b/app/e2e/recordingReminder.spec.ts@@ -32,8 +32,8 @@ for (const theme of ['light', 'dark'] as const) test(`standard recording remindeawait page.screenshot({ path: info.outputPath(`reminder-${theme}-closed.png`) })await page.getByTestId('chat-open').click()await expect.poll(async () => {- const a = await toast.boundingBox(), b = await page.getByTestId('chat-panel').boundingBox()- return !!a && !!b && b.y + b.height + 8 <= a.y+ const reminder = await toast.boundingBox(), composer = await page.locator('.chat-composer').boundingBox()+ return !!reminder && !!composer && Math.round(composer.y - reminder.y - reminder.height) === 12}).toBe(true)await toast.hover()await page.getByTestId('chat-panel').evaluate(el => Promise.allSettled([el, ...el.querySelectorAll('.chat-morph-surface,.chat-panel-contents')].flatMap(node => node.getAnimations()).map(a => a.finished)))diff --git a/app/e2e/share.spec.ts b/app/e2e/share.spec.tsindex 097e8e73..b9bf8c9f 100644--- a/app/e2e/share.spec.ts+++ b/app/e2e/share.spec.ts@@ -185,10 +185,21 @@ test('empty and failed copy feedback never signals success', async () => {} finally { await app.close() }})-test('a failed export stays visible and can be retried', async () => {+for (const theme of ['light', 'dark'] as const) test(`a failed export can be retried and its toast never moves the note footer in ${theme} mode`, async ({}, info) => {const { app, page } = await launch()try {+ await page.emulateMedia({ colorScheme: theme, reducedMotion: 'reduce' })await finished(app, page)+ await page.getByTestId('note-transcript-toggle').click()+ await expect(page.getByTestId('transcript-line').first()).toBeVisible()+ await expect(page.locator('.app-toast')).toHaveCount(0, { timeout: 10_000 })+ const footer = page.locator('.note-footer')+ await expect(footer).toBeVisible()+ const before = (await footer.boundingBox())!+ const player = page.getByTestId('player')+ await expect(player).toHaveCSS('opacity', '1')+ const playerBefore = (await player.boundingBox())!+ await page.screenshot({ path: info.outputPath(`toast-footer-${theme}-before.png`) })await app.evaluate(({ ipcMain }) => {let calls = 0ipcMain.removeHandler('share:save')@@ -198,10 +209,25 @@ test('a failed export stays visible and can be retried', async () => {await page.getByTestId('share-export').click()const toast = page.getByTestId('share-export-error')await expect(toast).toHaveClass(/app-toast/)+ await expect(toast).toHaveCSS('opacity', '1')+ expect(await footer.boundingBox()).toEqual(before)+ expect(await player.boundingBox()).toEqual(playerBefore)+ const notice = (await toast.boundingBox())!+ expect(Math.round(playerBefore.y - notice.y - notice.height)).toBe(12)+ await page.screenshot({ path: info.outputPath(`toast-footer-${theme}-during.png`) })await toast.getByRole('button', { name: 'Close' }).click()- await expect(toast).toHaveCount(0)+ await expect(page.locator('.app-toast[data-kind="share-export-error"]')).toHaveCount(0)+ expect(await footer.boundingBox()).toEqual(before)+ expect(await player.boundingBox()).toEqual(playerBefore)+ await page.screenshot({ path: info.outputPath(`toast-footer-${theme}-after.png`) })await page.getByTestId('share-button').click()await page.getByTestId('share-export').click()+ await expect(toast).toBeVisible()+ await page.getByTestId('note-summary-tab').click()+ await expect(player).toHaveCount(0)+ await expect.poll(() => toast.evaluate(el =>+ Math.round(document.querySelector('.note-footer')!.getBoundingClientRect().top - el.getBoundingClientRect().bottom)+ )).toBe(12)await toast.getByRole('button', { name: 'Try again' }).click()await expect(page.getByTestId('share-said')).toHaveText('Saved')} finally { await app.close() }diff --git a/app/src/renderer/src/components/TrashToast.tsx b/app/src/renderer/src/components/TrashToast.tsxindex 4eff6092..bebc9f2c 100644--- a/app/src/renderer/src/components/TrashToast.tsx+++ b/app/src/renderer/src/components/TrashToast.tsx@@ -119,24 +119,9 @@ export function TrashToast({ go }: { go: (route: string) => void }) {</Toast.Provider>}-// Reserve the expanded stack so keyboard focus or hover can expose every action without covering the dock.-export function toastClearance(shown: ReadonlyArray<{ limited?: boolean; height?: number }>) {- const visible = shown.filter(item => !item.limited)- if (!visible.length) return ''- const height = visible.reduce((sum, item) => sum + (item.height ?? 0), 0)- // 20px below the stack, 12px above it, and Animate UI's gap between expanded cards.- return `calc(${20 + height + 12}px + ${(visible.length - 1) * 0.75}rem)`-}-function ToastList() {const reduced = useReducedMotion()const { toasts: shown } = Toast.useToastManager<{ testId?: string; actionTestId?: string }>()- const clearance = toastClearance(shown)- useLayoutEffect(() => {- if (!clearance) return- document.body.style.setProperty('--toast-clearance', clearance)- return () => { document.body.style.removeProperty('--toast-clearance') }- }, [clearance])const front = shown.find(item => item.transitionStatus !== 'ending')return shown.map(item => <Toast.Root key={item.id} toast={item} className="app-toast" transition={{ duration: (reduced ? motion.micro : motion.surface) / 1000, ease: motion.softCurve }} exitTransition={{ duration: (reduced ? motion.micro : motion.base) / 1000, ease: motion.out }} swipeDirection={['down', 'right']}data-kind={item.data?.testId} data-testid={item.transitionStatus === 'ending' ? undefined : item.data?.testId ?? 'app-toast'}>diff --git a/app/src/renderer/src/styles.css b/app/src/renderer/src/styles.cssindex b8504a9b..c0efadb3 100644--- a/app/src/renderer/src/styles.css+++ b/app/src/renderer/src/styles.css@@ -587,7 +587,7 @@ input::selection, textarea::selection, .note-prose ::selection { background: var.note-notes-body { padding-top:22px;padding-bottom:40px; }.note-transcript-pane { display:flex;contain:layout style;--transcript-inset:calc(max(0px,(100% - 860px)/2) + clamp(20px,calc(10cqw - 42px),48px)); }.transcript-turn { contain:layout style; }-.note-footer { position:relative;flex:none;margin-block-end:var(--toast-clearance,0px);background:var(--bg);--note-footer-line:color-mix(in srgb,var(--line) 60%,var(--bg)); }+.note-footer { position:relative;anchor-name:--note-footer;flex:none;background:var(--bg);--note-footer-line:color-mix(in srgb,var(--line) 60%,var(--bg)); }.note-footer-bar { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:var(--workspace-footer-height);padding:8px 24px;border-top:1px solid var(--note-footer-line); }.note-footer > :not(.sr-only,.mic-pending-status,[hidden]) ~ .note-footer-bar { margin-top:8px; }@media (prefers-contrast:more) { .note-footer { --note-footer-line:var(--line); } }@@ -665,7 +665,7 @@ input::selection, textarea::selection, .note-prose ::selection { background: var.chat-panel::backdrop { background:rgb(0 0 0 / .16); }}@media(max-width:999px) and (max-height:420px) {- .chat-panel { inset-block:16px max(16px,var(--toast-clearance,0px));height:auto;max-height:none; }+ .chat-panel { inset-block:16px;height:auto;max-height:none; }}.note-record-action { display:flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;padding-inline:12px;border:1px solid var(--line);border-radius:6px;background:var(--float);color:var(--ink);font-size:12px;font-weight:500;white-space:nowrap;transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease; }.note-record-action:hover:not(:disabled) { background:var(--control-hover); }@@ -740,6 +740,7 @@ input::selection, textarea::selection, .note-prose ::selection { background: var.transcript-inline [data-testid="transcript"] { padding-inline:var(--transcript-inset);padding-top:22px; }[data-testid="transcript-panel"] [data-testid="transcript"] { padding-bottom:max(16px,var(--playback-inset));scroll-padding-bottom:var(--playback-inset); }.transcript-player-dock { position:absolute;inset-inline:max(16px, calc((100% - 412px)/2));bottom:12px;z-index:1;clip-path:inset(-16px -16px -12px); }+.transcript-player-dock:not([data-hidden=true]) > .transcript-player { anchor-name:--transcript-player; }.transcript-player { padding:5px 8px;border:1px solid var(--line);border-radius:22px;background:var(--float);box-shadow:0 2px 8px #0000000D;opacity:1;transform:translateY(0);transition:opacity var(--dur-micro) var(--ease-out),transform var(--dur-player-return) var(--ease-player-return); }.transcript-player-dock[data-hidden=true] .transcript-player { opacity:0;transform:translateY(calc(100% + 12px));pointer-events:none;transition:transform var(--dur-player-duck) var(--ease-player-duck),opacity calc(var(--dur-player-duck)/4) linear calc(var(--dur-player-duck)*.75); }@media (prefers-reduced-motion: reduce) {diff --git a/app/src/renderer/src/workspace.css b/app/src/renderer/src/workspace.cssindex 067dc91c..6f69b4aa 100644--- a/app/src/renderer/src/workspace.css+++ b/app/src/renderer/src/workspace.css@@ -295,8 +295,12 @@.agenda-status p { margin:5px 0 17px; }.trash-note { color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 16px; }.trash-actions { display:flex;gap:4px; }-/* The stack stays anchored to the window as the workspace changes beneath it. */-.app-toast-viewport { position:fixed;bottom:20px;inset-inline-end:20px;width:340px;max-width:calc(100% - 40px);z-index:90;outline:none;pointer-events:none; }+/* A docked control raises the stack by its actual footprint, including wrapped text and warnings. */+.app-toast-viewport {+ position:fixed;inset-inline-end:20px;+ bottom:max(20px,12px + max(anchor(--note-footer top,0px),anchor(--ask-composer top,0px),anchor(--transcript-player top,0px)));+ width:340px;max-width:calc(100% - 40px);z-index:90;outline:none;pointer-events:none;+}.app-toast { position:absolute;inset-block-end:0;inset-inline:0;width:100%;height:var(--toast-frontmost-height,var(--toast-height));border:1px solid var(--line);border-radius:11px;background:var(--float);color:var(--ink);box-shadow:0 8px 24px #0000001F,0 1px 3px #00000014;pointer-events:auto;outline:none;--gap:10px;z-index:calc(100 - var(--toast-index,0)); }.app-toast[data-expanded] { height:var(--toast-height); }.app-toast[data-limited] { opacity:0; }@@ -452,10 +456,10 @@/* Ask keeps one reading column and one composer in both surfaces. *//* a gutter held from the start: a scrollbar appearing as context grows would shift the centred page sideways */-.ask-page { contain:layout;height:100%;min-height:0;display:flex;flex-direction:column;overflow-y:auto;scrollbar-gutter:stable both-edges;padding:104px 32px max(24px,var(--toast-clearance,0px)); }+.ask-page { contain:layout;height:100%;min-height:0;display:flex;flex-direction:column;overflow-y:auto;scrollbar-gutter:stable both-edges;padding:104px 32px 24px; }.ask-page-toolbar { position:absolute;z-index:4;top:68px;inset-inline:24px;display:flex;align-items:center;justify-content:flex-end;gap:12px;height:28px; }.ask-back { margin-inline-end:auto; }-.ask-page:has(.ask-landing) { container-type:size;padding-bottom:max(clamp(104px,24vh,240px),var(--toast-clearance,0px)); }+.ask-page:has(.ask-landing) { container-type:size;padding-bottom:clamp(104px,24vh,240px); }.ask-page:has(.ask-landing) .ask-back { display:none; }.ask-conversation { display:flex;flex-direction:column;min-height:0;min-width:0;flex:1; }/* Anchor to the 194px empty composition; context and multiline drafts grow downward. */@@ -478,6 +482,7 @@.ask-turn:last-child { margin-bottom:0; }.ask-question { width:fit-content;max-width:80%;margin:0;margin-inline-start:auto;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;background:var(--control);padding:8px 12px;font-size:14px;line-height:20px; }.ask-composer { flex:none;min-width:0;container-type:inline-size; }+.ask-conversation:not(.ask-landing) .ask-composer { anchor-name:--ask-composer; }.ask-box { position:relative;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--float); }/* Composers are never lit; a short tapered flare invites typing instead. */.ask-tracer { position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);overflow:visible;pointer-events:none;opacity:0;fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round;filter:drop-shadow(0 0 4px color-mix(in srgb,var(--accent) 70%,transparent)) drop-shadow(0 0 10px color-mix(in srgb,var(--accent) 35%,transparent)); }diff --git a/app/test/toastPosition.test.ts b/app/test/toastPosition.test.tsindex f4f40f79..f3ae6c31 100644--- a/app/test/toastPosition.test.ts+++ b/app/test/toastPosition.test.ts@@ -1,22 +1,21 @@import { readFileSync } from 'node:fs'import { expect, it } from 'vitest'-import { toastClearance } from '../src/renderer/src/components/TrashToast'-it('keeps one window anchor for a live toast across workspace routes, panel widths, sidebar states and reduced motion', () => {- const css = ['styles.css', 'workspace.css'].map(file =>- readFileSync(new URL(`../src/renderer/src/${file}`, import.meta.url), 'utf8')).join('\n')+const css = ['styles.css', 'workspace.css'].map(file =>+ readFileSync(new URL(`../src/renderer/src/${file}`, import.meta.url), 'utf8')).join('\n')++it('uses one fixed toast stack across workspace routes, panel widths, sidebar states and reduced motion', () => {const rules = [...css.replace(/\/\*[\s\S]*?\*\//g, '').matchAll(/([^{}]*\.app-toast-viewport[^{}]*)\{([^{}]*)\}/g)]- // Any second selector could move the very same portal as the DOM or a media query changes.expect(rules.map(rule => rule[1].trim())).toEqual(['.app-toast-viewport'])expect(rules[0][2]).toMatch(/position:\s*fixed;/)- expect(rules[0][2]).toMatch(/bottom:\s*20px;/)+ expect(rules[0][2]).toContain('bottom:max(20px,12px + max(anchor(--note-footer top,0px),anchor(--ask-composer top,0px),anchor(--transcript-player top,0px)))')expect(rules[0][2]).toMatch(/inset-inline-end:\s*20px;/)expect(rules[0][2]).not.toMatch(/(?:translate|transform):/)})-it('reserves the measured stack for docked controls, including two wrapped cards at high zoom', () => {- expect(toastClearance([])).toBe('')- expect(toastClearance([{ height: 54 }])).toBe('calc(86px + 0rem)')- expect(toastClearance([{ height: 70 }, { height: 89 }, { height: 54, limited: true }])).toBe('calc(191px + 0.75rem)')- expect(toastClearance([{ height: 54, limited: true }])).toBe('')+it('clears the footer, docked composer and visible player without reserving space in the page', () => {+ expect(css).toMatch(/\.note-footer\s*\{[^}]*anchor-name:--note-footer;/)+ expect(css).toMatch(/\.ask-conversation:not\(\.ask-landing\) \.ask-composer\s*\{[^}]*anchor-name:--ask-composer;/)+ expect(css).toMatch(/\.transcript-player-dock:not\(\[data-hidden=true\]\) > \.transcript-player\s*\{[^}]*anchor-name:--transcript-player;/)+ expect(css).not.toContain('--toast-clearance')})