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 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-06-10 19:36:48 +02:00
parent c3afd57e19
commit 7ad2132a92

View File

@@ -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);