From ca10e8a6a9a5406837ec2e50afa6a5aa48146ae6 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 14 Apr 2026 10:11:57 +0200 Subject: [PATCH] fix(test): update TranscriptionEditView empty-state assertion after text change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 5afdc37 changed the empty state from transcription_empty_cta ('Markiere einen Bereich…') to transcription_empty_draw_hint ('Zeichnen Sie Bereiche…') but left the spec asserting the old text. Updated the locator to match the current component output. Co-Authored-By: Claude Sonnet 4.6 --- .../src/lib/components/TranscriptionEditView.svelte.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/TranscriptionEditView.svelte.spec.ts b/frontend/src/lib/components/TranscriptionEditView.svelte.spec.ts index a0429018..b076e590 100644 --- a/frontend/src/lib/components/TranscriptionEditView.svelte.spec.ts +++ b/frontend/src/lib/components/TranscriptionEditView.svelte.spec.ts @@ -63,7 +63,7 @@ describe('TranscriptionEditView — rendering', () => { it('shows empty state when no blocks', async () => { renderView({ blocks: [] }); - await expect.element(page.getByText(/Markiere einen Bereich/)).toBeInTheDocument(); + await expect.element(page.getByText(/Zeichnen Sie Bereiche/)).toBeInTheDocument(); }); });