feat(transcription): add data-test-search-input hook for E2E selectors

For issue #380. Adds an explicit Playwright selector attribute on the
mention search input so E2E tests target a stable hook instead of a
fragile CSS class string.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-05-19 20:56:15 +02:00
committed by marcel
parent fa7fe42363
commit 38b87f6a9f
2 changed files with 13 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ function selectItem(item: Person) {
<input
id="mention-search"
type="search"
data-test-search-input
class="min-h-[44px] w-full bg-transparent font-sans text-sm text-ink placeholder:text-ink-3 focus:outline-none focus-visible:ring-2 focus-visible:ring-brand-navy focus-visible:ring-inset"
placeholder={m.person_mention_search_prompt()}
bind:value={searchQuery}