From 7ad2132a92c138e0066378940a5fb2773925a824 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 10 Jun 2026 19:36:48 +0200 Subject: [PATCH] test(journey-editor): fix misleading test name for item-add + publish Removed the incorrect claim "isDirty stays false" from the test name. The banner tests added in the previous commit cover the isDirty signal. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/geschichte/JourneyEditor.svelte.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/geschichte/JourneyEditor.svelte.spec.ts b/frontend/src/lib/geschichte/JourneyEditor.svelte.spec.ts index cd69e985..f65d2b84 100644 --- a/frontend/src/lib/geschichte/JourneyEditor.svelte.spec.ts +++ b/frontend/src/lib/geschichte/JourneyEditor.svelte.spec.ts @@ -143,7 +143,7 @@ describe('JourneyEditor — publish surface', () => { await expect.element(page.getByRole('button', { name: /Veröffentlichen/ })).not.toBeDisabled(); }); - it('item-add enables publish button (isDirty stays false, canPublish becomes true)', async () => { + it('adding an item enables the publish button (canPublish becomes true)', async () => { const newItem = { id: 'i1', position: 0, note: 'Test' }; mockCsrfFetch(() => newItem);