d3ro-voice/apps/desktop/tests/e2e/records.spec.ts
Yun Chan 7fe49c437e chore: land in-progress workspace changes before 1.16.2
The tree carried uncommitted work from several areas (web push, mobile
screens, admin charts, test-hygiene cleanup, CI and map docs). It is landed
as one commit so the release pipeline can start from a clean tree; the
desktop transcript-correction behaviour shipped in the previous commit and
is unchanged here.
2026-11-05 21:58:44 +09:00

16 lines
761 B
TypeScript

// apps/desktop/tests/e2e/records.spec.ts
// 기록 화면 계약: 새 설치(기록 0건)에서는 빈 상태 카드가 보인다.
// "전체 삭제" 흐름은 기록을 먼저 만들어야 하는데, 기록 생성은 음성 파이프라인이 담당한다.
// 그 계약은 HistoryService 단위 테스트와 useClearAllHistory 훅 테스트가 이미 덮는다 (중복 금지).
import { expect, expectNoRuntimeErrors, goToRoute, test } from './support/electron-app'
test.describe('기록', () => {
test('새 설치에서는 빈 상태를 보여준다', async ({ mainWindow }) => {
await goToRoute(mainWindow, 'records')
await expect(mainWindow.window.getByTestId('empty-state-card')).toBeVisible()
expectNoRuntimeErrors(mainWindow)
})
})