From f14c8b9eeada59386fe28dd58c3c4504eb06df2a Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 5 May 2026 20:08:01 +0200 Subject: [PATCH] =?UTF-8?q?test(e2e):=20fix=20deep-link=20Fertig=20selecto?= =?UTF-8?q?r=20=E2=80=94=20strict=20mode=20violation=20at=20desktop=20view?= =?UTF-8?q?port?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit getByRole('button', { name: 'Fertig' }) matched two buttons at 1440px width: the transcribe-mode Fertig button and 'Alle als fertig markieren'. Add exact: true. Co-Authored-By: Claude Sonnet 4.6 --- frontend/e2e/notification-deep-link.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/e2e/notification-deep-link.spec.ts b/frontend/e2e/notification-deep-link.spec.ts index 68fdee1f..e8b3848d 100644 --- a/frontend/e2e/notification-deep-link.spec.ts +++ b/frontend/e2e/notification-deep-link.spec.ts @@ -92,7 +92,9 @@ test.describe('Notification deep-link scroll', () => { await openDeepLink(page); // Transcribe mode was auto-entered — Fertig button is visible - await expect(page.getByRole('button', { name: 'Fertig' })).toBeVisible({ timeout: 15_000 }); + await expect(page.getByRole('button', { name: 'Fertig', exact: true })).toBeVisible({ + timeout: 15_000 + }); // The target comment article is in the DOM and visible const article = page.locator(`#comment-${commentId}`);